mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 11:03:09 -04:00
The bundled version of CoinMP required the same patches as those applied to the port math/coinmp, so the patches were copied from there. Submitted by: jbeich (via commit r458136) Reported by: antoine (via bug 224669)
17 lines
692 B
C++
17 lines
692 B
C++
In file included from CglLandPSimplex.cpp:11:
|
|
In file included from ./CglLandPSimplex.hpp:31:
|
|
./CglLandPUtils.hpp:88:25: error: reinterpret_cast from 'nullptr_t' to 'OsiRowCut *' is not allowed
|
|
cuts_.resize(i, reinterpret_cast<OsiRowCut *> (NULL));
|
|
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
--- include/coin/CglLandPUtils.hpp.orig 2015-05-29 15:36:11 UTC
|
|
+++ include/coin/CglLandPUtils.hpp
|
|
@@ -85,7 +85,7 @@ struct Cuts
|
|
/** resize vector.*/
|
|
void resize(unsigned int i)
|
|
{
|
|
- cuts_.resize(i, reinterpret_cast<OsiRowCut *> (NULL));
|
|
+ cuts_.resize(i, static_cast<OsiRowCut *> (NULL));
|
|
}
|
|
private:
|
|
/** Stores the number of cuts.*/
|