Skip to content

Commit 3402fed

Browse files
committed
- updated cxxopts
1 parent 60b9588 commit 3402fed

File tree

10 files changed

+1937
-1374
lines changed

10 files changed

+1937
-1374
lines changed

Changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2.11.5
2+
- updated cxxopts
3+
14
2.11.4
25
- updated Readme
36
- removed numpy restriction

Simulator/SimulatorBase.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ void SimulatorBase::init(int argc, char **argv, const std::string &windowName)
347347
setStateFile(FileSystem::normalizePath(m_exePath + "/" + getStateFile()));
348348
}
349349
}
350-
catch (const cxxopts::OptionException& e)
350+
catch (const cxxopts::exceptions::exception& e)
351351
{
352352
std::cout << "error parsing options: " << e.what() << std::endl;
353353
exit(1);

Tools/FoamGenerator/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ int main( int argc, char **argv )
391391
if (skipframes > 0)
392392
std::cout << "Skipping " << skipframes << " frame(s) between writes." << std::endl;
393393
}
394-
catch (const cxxopts::OptionException& e)
394+
catch (const cxxopts::exceptions::exception& e)
395395
{
396396
LOG_ERR << "error parsing options: " << e.what();
397397
exit(1);

Tools/MeshSkinning/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ int main( int argc, char **argv )
262262
if (result.count("maxNeighbors"))
263263
maxNeighbors = result["maxNeighbors"].as<unsigned int>();
264264
}
265-
catch (const cxxopts::OptionException& e)
265+
catch (const cxxopts::exceptions::exception& e)
266266
{
267267
LOG_ERR << "error parsing options: " << e.what();
268268
exit(1);

Tools/PartioViewer/PartioViewer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ int PartioViewer::run(int argc, char **argv)
283283

284284
m_image.resize(3 * m_width * m_height);
285285
}
286-
catch (const cxxopts::OptionException& e)
286+
catch (const cxxopts::exceptions::exception& e)
287287
{
288288
LOG_INFO << "error parsing options: " << e.what();
289289
exit(1);

Tools/SurfaceSampling/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ int main( int argc, char **argv )
119119
std::cout << "--translation, --rotationAxis and --angle only affect 2D sampling and are ignored." << std::endl;
120120
}
121121
}
122-
catch (const cxxopts::OptionException& e)
122+
catch (const cxxopts::exceptions::exception& e)
123123
{
124124
std::cout << "error parsing options: " << e.what() << std::endl;
125125
exit(1);

Tools/VolumeSampling/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ int main(int argc, char **argv)
232232
LOG_INFO << "Region: " << region;
233233
}
234234
}
235-
catch (const cxxopts::OptionException& e)
235+
catch (const cxxopts::exceptions::exception& e)
236236
{
237237
std::cout << "error parsing options: " << e.what() << std::endl;
238238
exit(1);

Tools/partio2vtk/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ int main(int argc, char **argv)
101101
LOG_INFO << "End frame: " << endFrame;
102102

103103
}
104-
catch (const cxxopts::OptionException& e)
104+
catch (const cxxopts::exceptions::exception& e)
105105
{
106106
LOG_INFO << "error parsing options: " << e.what();
107107
exit(1);

0 commit comments

Comments
 (0)