diff options
Diffstat (limited to 'Source/cmDocumentationSection.h')
-rw-r--r-- | Source/cmDocumentationSection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmDocumentationSection.h b/Source/cmDocumentationSection.h index 636860d351..d796da84b6 100644 --- a/Source/cmDocumentationSection.h +++ b/Source/cmDocumentationSection.h @@ -34,8 +34,8 @@ public: void Clear() { this->Entries.clear(); } /** Return the name of this section. */ - const char* GetName() const - { return this->Name.c_str(); } + std::string GetName() const + { return this->Name; } /** Return a pointer to the first entry of this section. */ const std::vector<cmDocumentationEntry> &GetEntries() const |