gravatar
ladanyi@tmit.bme.hu
ladanyi@tmit.bme.hu
Fix an erroneous const declaration in ArgParser
0 3 0
default
3 files changed with 5 insertions and 6 deletions:
↑ Collapse diff ↑
Ignore white space 6 line context
... ...
@@ -29,3 +29,3 @@
29 29
using namespace lemon;
30
int main(int argc, const char **argv)
30
int main(int argc, char **argv)
31 31
{
Ignore white space 6 line context
... ...
@@ -28,4 +28,4 @@
28 28

	
29
  ArgParser::ArgParser(int argc, const char **argv) :_argc(argc), _argv(argv),
30
                                                     _command_name(argv[0]) {
29
  ArgParser::ArgParser(int argc, const char * const *argv)
30
    :_argc(argc), _argv(argv), _command_name(argv[0]) {
31 31
    funcOption("-help","Print a short help message",_showHelp,this);
... ...
@@ -33,3 +33,2 @@
33 33
    synonym("h","-help");
34

	
35 34
  }
Show white space 6 line context
... ...
@@ -48,3 +48,3 @@
48 48
    int _argc;
49
    const char **_argv;
49
    const char * const *_argv;
50 50

	
... ...
@@ -121,3 +121,3 @@
121 121
    ///Constructor
122
    ArgParser(int argc, const char **argv);
122
    ArgParser(int argc, const char * const *argv);
123 123

	
0 comments (0 inline)