From 90e370d2eff4a2aaf00a4d2659192015fb7d91a4 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 2 Aug 2014 19:29:58 -0500 Subject: [PATCH] type is guaranteed to be a symbol by the factory method --- Library/Homebrew/cxxstdlib.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cxxstdlib.rb b/Library/Homebrew/cxxstdlib.rb index a7c84ac2da..27c03b6259 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