Ignore:
Timestamp:
Apr 29, 2011 2:06:50 PM (10 years ago)
Author:
stefan
Message:

apply fixes for compiler warnings send by Alpar Juettner:

  • Every appearance of DBL_MAX was replaced by COIN_DBL_MAX.
  • The unused parameter warnings were resolved by removing their names from the declaration.
  • Finally, I weeded out all the old-style casts from the code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcObject.hpp

    r1573 r1643  
    135135    virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface * solver, const OsiBranchingInformation * info, int way) = 0;
    136136#else
    137     virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface * solver, const OsiBranchingInformation * info, int way) {
    138         return createBranch(solver, info, way);
    139     }
    140     virtual CbcBranchingObject * createBranch(OsiSolverInterface * /*solver*/,
    141             const OsiBranchingInformation * /*info*/, int /*way*/) {
     137  virtual CbcBranchingObject * createCbcBranch(OsiSolverInterface *
     138                                               /* solver */,
     139                                               const OsiBranchingInformation *
     140                                               /* info */, int /* way */) {
     141        // return createBranch(solver, info, way);
     142      return NULL;
     143    }
     144    virtual OsiBranchingObject * createBranch(OsiSolverInterface * /*solver*/,
     145            const OsiBranchingInformation * /*info*/, int /*way*/) const {
    142146        throw CoinError("Need code", "createBranch", "CbcBranchBase");
    143147    }
Note: See TracChangeset for help on using the changeset viewer.