diff options
| author | Jack Nagel | 2014-08-22 22:36:58 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-08-22 22:37:35 -0500 | 
| commit | d79ee41dd8c7690dc7a49a2575f1f62b6368adae (patch) | |
| tree | c1c0034e1f1a5b41d32dfb162451492cf8cbd35f /Library/Homebrew/exceptions.rb | |
| parent | 6b4c37ed5ce7fe4abb49713f084d6cb6bd213539 (diff) | |
| download | homebrew-d79ee41dd8c7690dc7a49a2575f1f62b6368adae.tar.bz2 | |
Decouple IncompatibleCxxStdlibs from its superclass
This exception is never used outside of the CxxStdlib class, so we don't
need the Homebrew::InstallationError superclass.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 9 | 
1 files changed, 0 insertions, 9 deletions
| diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index d0d83bc89..743f63b0f 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -112,15 +112,6 @@ class UnsatisfiedRequirements < Homebrew::InstallationError    end  end -class IncompatibleCxxStdlibs < Homebrew::InstallationError -  def initialize(f, dep, wrong, right) -    super f, <<-EOS.undent -    #{f} dependency #{dep} was built with a different C++ standard -    library (#{wrong.type_string} from #{wrong.compiler}). This could cause problems at runtime. -    EOS -  end -end -  class FormulaConflictError < Homebrew::InstallationError    attr_reader :f, :conflicts | 
