opnsense-ports/math/cbc/files/patch-Cbc_src_CbcModel.cpp
Franco Fichtner de6a699e83 */*: sync with upstream
Taken from: HardenedBSD
2018-04-15 23:00:06 +02:00

11 lines
472 B
C++

--- Cbc/src/CbcModel.cpp.orig 2018-04-16 07:45:54 UTC
+++ Cbc/src/CbcModel.cpp
@@ -5338,7 +5338,7 @@ void CbcModel::branchAndBound(int doStat
OsiClpSolverInterface * clpSolver
= dynamic_cast<OsiClpSolverInterface *> (solver_);
if (clpSolver)
- clpSolver->setFakeObjective(reinterpret_cast<double *> (NULL));
+ clpSolver->setFakeObjective((double*)nullptr);
}
#endif
moreSpecialOptions_ = saveMoreSpecialOptions;