aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2014-08-02 19:43:13 -0500
committerJack Nagel2014-08-02 19:43:13 -0500
commit9ea723e77a369d1baa1f4b5b6aac136c365a705f (patch)
tree8464d3116658b2edee871ec6b94f7b209dfcc33d
parente1f97e260ca320141c9c48158814aff895e76486 (diff)
downloadhomebrew-9ea723e77a369d1baa1f4b5b6aac136c365a705f.tar.bz2
Drop unnecessary parens
-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 4fcb4bf75..06599e7db 100644
--- a/Library/Homebrew/cxxstdlib.rb
+++ b/Library/Homebrew/cxxstdlib.rb
@@ -23,7 +23,7 @@ class CxxStdlib
# libstdc++ is compatible across Apple compilers, but
# not between Apple and GNU compilers, or between GNU compiler versions
def compatible_with?(other)
- (type.nil? || other.type.nil?) || type == other.type
+ type.nil? || other.type.nil? || type == other.type
end
def check_dependencies(formula, deps)