ENH: Use const correctness for arguments
This commit is contained in:
parent
d385543865
commit
73ddc9459f
|
@ -89,7 +89,7 @@ CommandLineArguments::~CommandLineArguments()
|
|||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
void CommandLineArguments::Initialize(int argc, char* argv[])
|
||||
void CommandLineArguments::Initialize(int argc, const char* const argv[])
|
||||
{
|
||||
int cc;
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ public:
|
|||
/**
|
||||
* Initialize internal data structures. This should be called before parsing.
|
||||
*/
|
||||
void Initialize(int argc, char* argv[]);
|
||||
void Initialize(int argc, const char* const argv[]);
|
||||
|
||||
/**
|
||||
* Initialize internal data structure and pass arguments one by one. This is
|
||||
|
|
Loading…
Reference in New Issue