diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-08-23 18:03:01 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2022-11-17 12:37:11 (GMT) |
commit | 5ef97a0182e72abd12f19b0d396ff8b77324772f (patch) | |
tree | 2d47ce4dd31e39e20b134f051273956dc1bc6573 /Source/cmDocumentation.cxx | |
parent | 74b735dea8e2255c53f12afea5706ad443d64785 (diff) | |
download | CMake-5ef97a0182e72abd12f19b0d396ff8b77324772f.zip CMake-5ef97a0182e72abd12f19b0d396ff8b77324772f.tar.gz CMake-5ef97a0182e72abd12f19b0d396ff8b77324772f.tar.bz2 |
cmDocumentation: Drop unused `SetSections` method
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r-- | Source/cmDocumentation.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx index 5db8e49..e626f7e 100644 --- a/Source/cmDocumentation.cxx +++ b/Source/cmDocumentation.cxx @@ -370,13 +370,6 @@ void cmDocumentation::SetSection(const char* name, this->SectionAtName(name) = std::move(section); } -void cmDocumentation::SetSections( - std::map<std::string, cmDocumentationSection> sections) -{ - for (auto& s : sections) { - this->SetSection(s.first.c_str(), std::move(s.second)); - } -} cmDocumentationSection& cmDocumentation::SectionAtName(const char* name) { return this->AllSections.emplace(name, cmDocumentationSection{ name }) |