summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-23 15:33:09 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-17 12:37:10 (GMT)
commitccff0b87a28177cd9f298adc9b650e5143b371f6 (patch)
tree3fea7e763c26446f58df868637934cd23422d656 /Source/cmDocumentation.cxx
parent067dcb9efdffab683ce0bd299db7bfb45eaef859 (diff)
downloadCMake-ccff0b87a28177cd9f298adc9b650e5143b371f6.zip
CMake-ccff0b87a28177cd9f298adc9b650e5143b371f6.tar.gz
CMake-ccff0b87a28177cd9f298adc9b650e5143b371f6.tar.bz2
cmDocumentation: Accept `Iterable` instead of `vector` on add entries
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx20
1 files changed, 0 insertions, 20 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 9f9393d..93685ad 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -373,14 +373,6 @@ void cmDocumentation::SetSection(const char* name,
this->SectionAtName(name) = std::move(section);
}
-void cmDocumentation::SetSection(const char* name,
- std::vector<cmDocumentationEntry>& docs)
-{
- cmDocumentationSection sec{ name };
- sec.Append(docs);
- this->SetSection(name, std::move(sec));
-}
-
void cmDocumentation::SetSection(const char* name, const char* docs[][2])
{
cmDocumentationSection sec{ name };
@@ -406,24 +398,12 @@ void cmDocumentation::PrependSection(const char* name, const char* docs[][2])
this->SectionAtName(name).Prepend(docs);
}
-void cmDocumentation::PrependSection(const char* name,
- std::vector<cmDocumentationEntry>& docs)
-{
- this->SectionAtName(name).Prepend(docs);
-}
-
void cmDocumentation::AppendSection(const char* name, const char* docs[][2])
{
this->SectionAtName(name).Append(docs);
}
void cmDocumentation::AppendSection(const char* name,
- std::vector<cmDocumentationEntry>& docs)
-{
- this->SectionAtName(name).Append(docs);
-}
-
-void cmDocumentation::AppendSection(const char* name,
cmDocumentationEntry& docs)
{