summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentationFormatter.h
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-23 03:55:30 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-17 12:23:35 (GMT)
commit3be0d77cc4ae10506fb513987067e9515169a401 (patch)
treefe08f37b0c7ff967e372c8e6e17d04750c4cb71b /Source/cmDocumentationFormatter.h
parent3bff44ffd3b37ba1e46205f66ac03d3363fddc51 (diff)
downloadCMake-3be0d77cc4ae10506fb513987067e9515169a401.zip
CMake-3be0d77cc4ae10506fb513987067e9515169a401.tar.gz
CMake-3be0d77cc4ae10506fb513987067e9515169a401.tar.bz2
cmDocumentationFormatter.h: No need `virtual` methods
Can be added later it really need. Also, drop ctor/dtor to make the class trivially destructable.
Diffstat (limited to 'Source/cmDocumentationFormatter.h')
-rw-r--r--Source/cmDocumentationFormatter.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h
index 98cac9b..ca7ad0c 100644
--- a/Source/cmDocumentationFormatter.h
+++ b/Source/cmDocumentationFormatter.h
@@ -12,14 +12,10 @@ class cmDocumentationSection;
class cmDocumentationFormatter
{
public:
- cmDocumentationFormatter();
- virtual ~cmDocumentationFormatter();
void PrintFormatted(std::ostream& os, const char* text);
-
- virtual void PrintSection(std::ostream& os,
- cmDocumentationSection const& section);
- virtual void PrintPreformatted(std::ostream& os, const char* text);
- virtual void PrintParagraph(std::ostream& os, const char* text);
+ void PrintSection(std::ostream& os, cmDocumentationSection const& section);
+ void PrintPreformatted(std::ostream& os, const char* text);
+ void PrintParagraph(std::ostream& os, const char* text);
void PrintColumn(std::ostream& os, const char* text);
void SetIndent(const char* indent);