File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,17 +29,17 @@ using namespace boost::program_options;
29
29
30
30
#include < iostream>
31
31
#include < fstream>
32
+ #include < exception>
32
33
using namespace std ;
33
34
34
-
35
35
int main (int ac, char * av[])
36
36
{
37
37
try {
38
38
// Declare three groups of options.
39
39
options_description general (" General options" );
40
40
general.add_options ()
41
41
(" help" , " produce a help message" )
42
- (" help-module" , value<string>()-> implicit () ,
42
+ (" help-module" , value<string>(),
43
43
" produce a help for a given module" )
44
44
(" version" , " output the version number" )
45
45
;
@@ -91,7 +91,7 @@ int main(int ac, char* av[])
91
91
<< vm[" num-threads" ].as <int >() << " \n " ;
92
92
}
93
93
}
94
- catch (exception& e) {
94
+ catch (std:: exception& e) {
95
95
cout << e.what () << " \n " ;
96
96
}
97
97
}
You can’t perform that action at this time.
0 commit comments