summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmDocumentation.cxx2
-rw-r--r--Source/cmDocumentation.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 1571406..ec0018f 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -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)
diff --git a/Source/cmDocumentation.h b/Source/cmDocumentation.h
index ddfbb44..276f920 100644
--- a/Source/cmDocumentation.h
+++ b/Source/cmDocumentation.h
@@ -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