1
0
Fork 0

Codefix: Incorrect documentation comments in StringBuilder

pull/13011/head
Jonathan G Rennison 2024-10-09 20:28:57 +01:00 committed by rubidium42
parent b074a4d3ce
commit ffcc594ea3
1 changed files with 1 additions and 3 deletions

View File

@ -252,8 +252,7 @@ public:
/** /**
* Create the builder of an external buffer. * Create the builder of an external buffer.
* @param start The start location to write to. * @param string The string to write to.
* @param last The last location to write to.
*/ */
StringBuilder(std::string &string) : string(&string) {} StringBuilder(std::string &string) : string(&string) {}
@ -309,7 +308,6 @@ public:
/** /**
* Remove the given amount of characters from the back of the string. * Remove the given amount of characters from the back of the string.
* @param amount The amount of characters to remove. * @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) void RemoveElementsFromBack(size_t amount)
{ {