blob: 3a27da33a5bb494cc6d7d267b23ba55733252ba5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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.*/
|