From ffcc594ea311b45ea490a54f843cc70c8201fac7 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Wed, 9 Oct 2024 20:28:57 +0100 Subject: [PATCH] Codefix: Incorrect documentation comments in StringBuilder --- src/strings_internal.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/strings_internal.h b/src/strings_internal.h index 407d73d996..d4f52c00e4 100644 --- a/src/strings_internal.h +++ b/src/strings_internal.h @@ -252,8 +252,7 @@ public: /** * Create the builder of an external buffer. - * @param start The start location to write to. - * @param last The last location to write to. + * @param string The string to write to. */ StringBuilder(std::string &string) : string(&string) {} @@ -309,7 +308,6 @@ public: /** * Remove the given amount of characters from the back of the string. * @param amount The amount of characters to remove. - * @return true iff there was enough space and the character got added. */ void RemoveElementsFromBack(size_t amount) {