# HG changeset patch
# User Akos Ladanyi <ladanyi@tmit.bme.hu>
# Date 1239040314 -3600
# Node ID 24682336c38e57ff58db0bd4fc10644da85fc11b
# Parent b53a9068e3e433be1336c000857f73f38c605c60
Fix compilation with MSVC (#258)
diff --git a/tools/dimacs-solver.cc b/tools/dimacs-solver.cc
a
|
b
|
|
115 | 115 | void solve(ArgParser &ap, std::istream &is, std::ostream &os, |
116 | 116 | DimacsDescriptor &desc) |
117 | 117 | { |
118 | | std::stringstream iss(ap["infcap"]); |
| 118 | std::stringstream iss(static_cast<std::string>(ap["infcap"])); |
119 | 119 | Value infty; |
120 | 120 | iss >> infty; |
121 | 121 | if(iss.fail()) |