mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 05:40:30 -04:00
11 lines
454 B
C++
11 lines
454 B
C++
--- Cbc/src/CbcModel.cpp.orig 2019-12-21 21:30:53 UTC
|
|
+++ Cbc/src/CbcModel.cpp
|
|
@@ -5417,7 +5417,7 @@ void CbcModel::branchAndBound(int doStatistics)
|
|
OsiClpSolverInterface *clpSolver
|
|
= dynamic_cast< OsiClpSolverInterface * >(solver_);
|
|
if (clpSolver)
|
|
- clpSolver->setFakeObjective(reinterpret_cast< double * >(NULL));
|
|
+ clpSolver->setFakeObjective((double*)nullptr);
|
|
}
|
|
#endif
|
|
moreSpecialOptions_ = saveMoreSpecialOptions;
|