diff options
| author | Jack Nagel | 2014-08-02 19:29:59 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-08-02 19:29:59 -0500 |
| commit | e1f97e260ca320141c9c48158814aff895e76486 (patch) | |
| tree | 16d8d51ada8114f47c84ddfe1dc8221795f1e02f /Library/Homebrew/tab.rb | |
| parent | 08d3790347330aaced0c586f18603dff60ae70dc (diff) | |
| download | homebrew-e1f97e260ca320141c9c48158814aff895e76486.tar.bz2 | |
Use polymorphism to simplify stdlib compatibility check
Diffstat (limited to 'Library/Homebrew/tab.rb')
| -rw-r--r-- | Library/Homebrew/tab.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 0b1605ab1..436af0062 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -119,7 +119,7 @@ class Tab < OpenStruct # Older tabs won't have these values, so provide sensible defaults lib = stdlib.to_sym if stdlib cc = compiler || MacOS.default_compiler - CxxStdlib.new(lib, cc.to_sym) + CxxStdlib.create(lib, cc.to_sym) end def to_json |
