ENH: CheckOptions now takes const argv.

This commit is contained in:
Brad King 2003-07-23 17:27:34 -04:00
parent 6f1a044018
commit fde552ea6e
2 changed files with 2 additions and 2 deletions

View File

@ -222,7 +222,7 @@ bool cmDocumentation::PrintRequestedDocumentation(std::ostream& os)
}
//----------------------------------------------------------------------------
bool cmDocumentation::CheckOptions(int argc, char** argv)
bool cmDocumentation::CheckOptions(int argc, const char* const* argv)
{
// Providing zero arguments gives usage information.
if(argc == 1)

View File

@ -36,7 +36,7 @@ public:
* When true is returned, PrintRequestedDocumentation should be
* called.
*/
bool CheckOptions(int argc, char** argv);
bool CheckOptions(int argc, const char* const* argv);
/**
* Print help requested on the command line. Call after