summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-23 18:03:01 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-17 12:37:11 (GMT)
commit5ef97a0182e72abd12f19b0d396ff8b77324772f (patch)
tree2d47ce4dd31e39e20b134f051273956dc1bc6573 /Source/cmDocumentation.cxx
parent74b735dea8e2255c53f12afea5706ad443d64785 (diff)
downloadCMake-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.cxx7
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 })