diff options
author | Brad King <brad.king@kitware.com> | 2003-07-23 21:27:34 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2003-07-23 21:27:34 (GMT) |
commit | fde552ea6e43b9950029883076377f750bd60ce7 (patch) | |
tree | 24a214774317b943a68fa930736856dc66979a9e | |
parent | 6f1a0440184e040c7ed0d21cd8e5f46b6177df3e (diff) | |
download | CMake-fde552ea6e43b9950029883076377f750bd60ce7.zip CMake-fde552ea6e43b9950029883076377f750bd60ce7.tar.gz CMake-fde552ea6e43b9950029883076377f750bd60ce7.tar.bz2 |
ENH: CheckOptions now takes const argv.
-rw-r--r-- | Source/cmDocumentation.cxx | 2 | ||||
-rw-r--r-- | Source/cmDocumentation.h | 2 |
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 |