summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentationFormatter.h
diff options
context:
space:
mode:
authorAlex Turbov <i.zaufi@gmail.com>2022-08-23 06:57:00 (GMT)
committerAlex Turbov <i.zaufi@gmail.com>2022-11-17 12:37:09 (GMT)
commitf27537ec3db3a53a83da9d9824f10f139397476e (patch)
treef8389c524f371acd1f98bd80141f7da589b66353 /Source/cmDocumentationFormatter.h
parent84241189f6a68611f79e9a3d78fc0192e1008cb1 (diff)
downloadCMake-f27537ec3db3a53a83da9d9824f10f139397476e.zip
CMake-f27537ec3db3a53a83da9d9824f10f139397476e.tar.gz
CMake-f27537ec3db3a53a83da9d9824f10f139397476e.tar.bz2
cmDocumentationFormatter: Turn `TextWidth` member into `size_t`
Cuz normally required text width can't be negative. It was `int`…
Diffstat (limited to 'Source/cmDocumentationFormatter.h')
-rw-r--r--Source/cmDocumentationFormatter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmDocumentationFormatter.h b/Source/cmDocumentationFormatter.h
index 5293033..113db1e 100644
--- a/Source/cmDocumentationFormatter.h
+++ b/Source/cmDocumentationFormatter.h
@@ -21,6 +21,6 @@ public:
void SetIndent(std::size_t indent) { this->TextIndent = indent; }
private:
- int TextWidth = 77;
+ std::size_t TextWidth = 77u;
std::size_t TextIndent = 0u;
};