Ignore:
Timestamp:
Nov 2, 2011 11:25:47 AM (8 years ago)
Author:
mjs
Message:

Eclipse code analyzer recommendations: (a) catch exceptions by reference; (b) parenthesize multi-term Boolean expressions; (c) virtual methods need virtual dtors (and Eclipse likes to see the keyword); (d) operator=() should return *this (and check for self-assignment).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ClpForOsi2/Clp/src/ClpMain.cpp

    r1726 r1816  
    815815                                   try {
    816816                                        status = model2->initialSolve(solveOptions);
    817                                    } catch (CoinError e) {
     817                                   } catch (CoinError& e) {
    818818                                        e.print();
    819819                                        status = -1;
Note: See TracChangeset for help on using the changeset viewer.