diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-08-23 06:57:00 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2022-11-17 12:37:09 (GMT) |
commit | f27537ec3db3a53a83da9d9824f10f139397476e (patch) | |
tree | f8389c524f371acd1f98bd80141f7da589b66353 /Source/cmDocumentationFormatter.h | |
parent | 84241189f6a68611f79e9a3d78fc0192e1008cb1 (diff) | |
download | CMake-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.h | 2 |
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; }; |