aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cxxstdlib.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-02 19:29:58 -0500
committerJack Nagel2014-08-02 19:29:58 -0500
commitcdf1a7b41c437e1bddadf8633e97b20495892193 (patch)
tree921b6f493b139da0105e9e85877db239cae7f922 /Library/Homebrew/cxxstdlib.rb
parentffc5687fc29159e61c601792c9c8dceaf944fd8f (diff)
downloadbrew-cdf1a7b41c437e1bddadf8633e97b20495892193.tar.bz2
CxxStdlib should be immutable so remove writer methods
Diffstat (limited to 'Library/Homebrew/cxxstdlib.rb')
-rw-r--r--Library/Homebrew/cxxstdlib.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cxxstdlib.rb b/Library/Homebrew/cxxstdlib.rb
index d04a86db0..a7c84ac2d 100644
--- a/Library/Homebrew/cxxstdlib.rb
+++ b/Library/Homebrew/cxxstdlib.rb
@@ -1,7 +1,7 @@
require "compilers"
class CxxStdlib
- attr_accessor :type, :compiler
+ attr_reader :type, :compiler
def initialize(type, compiler)
if type && ![:libstdcxx, :libcxx].include?(type)