ENH: Use const correctness for arguments

This commit is contained in:
Andy Cedilnik 2004-09-14 10:34:10 -04:00
parent d385543865
commit 73ddc9459f
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ CommandLineArguments::~CommandLineArguments()
} }
//---------------------------------------------------------------------------- //----------------------------------------------------------------------------
void CommandLineArguments::Initialize(int argc, char* argv[]) void CommandLineArguments::Initialize(int argc, const char* const argv[])
{ {
int cc; int cc;

View File

@ -85,7 +85,7 @@ public:
/** /**
* Initialize internal data structures. This should be called before parsing. * 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 * Initialize internal data structure and pass arguments one by one. This is