aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-08-02 19:29:58 -0500
committerJack Nagel2014-08-02 19:29:58 -0500
commit5a18a35fb559e45d2c60807b39f4087aa3a15ced (patch)
treed35b4ea581abab7758052d6d2fef77c8fcc0796a
parent9f5c212a6d42ba545943c10f8d6ed9f7e7f74a88 (diff)
downloadhomebrew-5a18a35fb559e45d2c60807b39f4087aa3a15ced.tar.bz2
CxxStdlib should be immutable so remove writer methods
-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)