aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/compat
diff options
context:
space:
mode:
authorJack Nagel2014-08-16 02:05:13 -0500
committerJack Nagel2014-08-16 02:16:05 -0500
commit95aef5511091dc666beae7c5bdb79df926374554 (patch)
tree9c6648dc61a48119a7c2a0ea6e4dcb543bb03e24 /Library/Homebrew/compat
parente6498f4dfc37524be8d0827957ed75fc471ad345 (diff)
downloadbrew-95aef5511091dc666beae7c5bdb79df926374554.tar.bz2
Simplify cxxstdlib_check implementation
The cxxstdlib_check method currently only supports one value, so we can just define the accompanying instance method when necessary. If we ever add more options we can back it with a data structure.
Diffstat (limited to 'Library/Homebrew/compat')
-rw-r--r--Library/Homebrew/compat/formula.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/Library/Homebrew/compat/formula.rb b/Library/Homebrew/compat/formula.rb
index 11f65e36d..40469da33 100644
--- a/Library/Homebrew/compat/formula.rb
+++ b/Library/Homebrew/compat/formula.rb
@@ -16,10 +16,6 @@ class Formula
"-DCMAKE_INSTALL_PREFIX='#{prefix}' -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev"
end
- def cxxstdlib
- self.class.cxxstdlib
- end
-
def cxxstdlib_check check_type
self.class.cxxstdlib_check check_type
end