aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-08-02 19:29:58 -0500
committerJack Nagel2014-08-02 19:29:58 -0500
commit90e370d2eff4a2aaf00a4d2659192015fb7d91a4 (patch)
tree496b7d6347bc7437dbc850728253155c8ccccdae /Library/Homebrew
parentcdf1a7b41c437e1bddadf8633e97b20495892193 (diff)
downloadbrew-90e370d2eff4a2aaf00a4d2659192015fb7d91a4.tar.bz2
type is guaranteed to be a symbol by the factory method
Diffstat (limited to 'Library/Homebrew')
-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