aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-08-02 19:29:58 -0500
committerJack Nagel2014-08-02 19:29:58 -0500
commit08d3790347330aaced0c586f18603dff60ae70dc (patch)
tree0f18db622b524c4045c312b41b8616c66fae6698
parent5a18a35fb559e45d2c60807b39f4087aa3a15ced (diff)
downloadhomebrew-08d3790347330aaced0c586f18603dff60ae70dc.tar.bz2
type is guaranteed to be a symbol by the factory method
-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 a7c84ac2d..27c03b625 100644
--- a/Library/Homebrew/cxxstdlib.rb
+++ b/Library/Homebrew/cxxstdlib.rb
@@ -8,7 +8,7 @@ class CxxStdlib
raise ArgumentError, "Invalid C++ stdlib type: #{type}"
end
- @type = type.to_sym if type
+ @type = type
@compiler = compiler.to_sym
end