mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Various beast cleanups
This commit is contained in:
@@ -1200,8 +1200,8 @@ public:
|
||||
dest = result.getCharPointer();
|
||||
}
|
||||
|
||||
StringCreationHelper (const String::CharPointerType& source_)
|
||||
: source (source_), dest (nullptr), allocatedBytes (StringHolder::getAllocatedNumBytes (source)), bytesWritten (0)
|
||||
StringCreationHelper (const String::CharPointerType s)
|
||||
: source (s), dest (nullptr), allocatedBytes (StringHolder::getAllocatedNumBytes (s)), bytesWritten (0)
|
||||
{
|
||||
result.preallocateBytes (allocatedBytes);
|
||||
dest = result.getCharPointer();
|
||||
@@ -1531,7 +1531,8 @@ String String::quoted (const beast_wchar quoteCharacter) const
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
static String::CharPointerType findTrimmedEnd (const String::CharPointerType& start, String::CharPointerType end)
|
||||
static String::CharPointerType findTrimmedEnd (const String::CharPointerType start,
|
||||
String::CharPointerType end)
|
||||
{
|
||||
while (end > start)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user