ENH: CheckOptions now takes const argv.
This commit is contained in:
parent
6f1a044018
commit
fde552ea6e
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue