diff options
author | Brad King <brad.king@kitware.com> | 2012-03-01 15:40:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-01 15:40:21 (GMT) |
commit | 09ff226e4c5489188a4e568df06a4f8e373ce5cd (patch) | |
tree | 35a70c95898cfc415b460de5dc900b05f96f7ccd /Source/cmFindBase.cxx | |
parent | 31ab25c0c9298aa833edd118752e97f15f7d8e2a (diff) | |
parent | 737c49a357e7a97b213857fd899081d42f38c143 (diff) | |
download | CMake-09ff226e4c5489188a4e568df06a4f8e373ce5cd.zip CMake-09ff226e4c5489188a4e568df06a4f8e373ce5cd.tar.gz CMake-09ff226e4c5489188a4e568df06a4f8e373ce5cd.tar.bz2 |
Merge branch 'add-const-qualifiers' into doxygen-fixes
Conflicts:
Source/cmPropertyDefinition.h
Diffstat (limited to 'Source/cmFindBase.cxx')
-rw-r--r-- | Source/cmFindBase.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFindBase.cxx b/Source/cmFindBase.cxx index 183da4a..fb8bcf7 100644 --- a/Source/cmFindBase.cxx +++ b/Source/cmFindBase.cxx @@ -108,11 +108,11 @@ void cmFindBase::GenerateDocumentation() } //---------------------------------------------------------------------------- -const char* cmFindBase::GetFullDocumentation() +const char* cmFindBase::GetFullDocumentation() const { if(this->GenericDocumentation.empty()) { - this->GenerateDocumentation(); + const_cast<cmFindBase *>(this)->GenerateDocumentation(); } return this->GenericDocumentation.c_str(); } |