diff options
| author | Misty De Meo | 2013-10-07 00:25:26 -0700 |
|---|---|---|
| committer | Misty De Meo | 2013-10-07 00:25:26 -0700 |
| commit | 15963322fd30f4ca85fc2a2ea20e5862d6b21677 (patch) | |
| tree | 26fb6d5c2526d5d98ac8cee21eb6d5f39453ee16 /Library/Homebrew | |
| parent | d5ac2deefbc0b8f39f30c6fa47f8aa31ca50e247 (diff) | |
| download | brew-15963322fd30f4ca85fc2a2ea20e5862d6b21677.tar.bz2 | |
Tab#cxxstdlib: don't try to convert nil to_sym
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/tab.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index caf261a28..239820c5f 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -97,9 +97,9 @@ class Tab < OpenStruct def cxxstdlib # Older tabs won't have these values, so provide sensible defaults - lib = stdlib + lib = stdlib.to_sym if stdlib cc = compiler || MacOS.default_compiler - CxxStdlib.new(lib.to_sym, cc.to_sym) + CxxStdlib.new(lib, cc.to_sym) end def to_json |
