summaryrefslogtreecommitdiff
path: root/math/clp/files/patch-Osi_test_OsiTestSolverInterfaceIO.cpp
blob: 2a921f8eb2362d9ea597b501d42b8719b0329f05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- Osi/test/OsiTestSolverInterfaceIO.cpp.orig	2018-04-16 06:54:20 UTC
+++ Osi/test/OsiTestSolverInterfaceIO.cpp
@@ -422,10 +422,10 @@ OsiTestSolverInterface::writeMps(const c
    writer.setMpsData(*getMatrixByCol(), getInfinity(),
 		     getColLower(), getColUpper(),
 		     getObjCoefficients(), 
-		     reinterpret_cast<const char *> (NULL) /*integrality*/,
+		     nullptr /*integrality*/,
 		     getRowLower(), getRowUpper(),
-		     reinterpret_cast<const char **> (NULL) /*colnam*/, 
-		     reinterpret_cast<const char **> (NULL) /*rownam*/);
+		     nullptr /*colnam*/, 
+		     nullptr /*rownam*/);
    std::string fname = filename;
    if (extension)
    { if (extension[0] != '\0' && extension[0] != '.')