aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cxxstdlib.rb
diff options
context:
space:
mode:
authorJack Nagel2014-08-02 19:43:13 -0500
committerJack Nagel2014-08-02 19:43:13 -0500
commit018aeb05ab74629f761741e51436a358db6feb9d (patch)
tree6a72d4402cc95753f075132d1932836b4edf6f92 /Library/Homebrew/cxxstdlib.rb
parent142beddd7a7c374b59e678a7df71e25df13df3e4 (diff)
downloadbrew-018aeb05ab74629f761741e51436a358db6feb9d.tar.bz2
Drop unnecessary parens
Diffstat (limited to 'Library/Homebrew/cxxstdlib.rb')
-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)