Reverted string change because it cause incorrect string sizes.
This commit is contained in:
@@ -30,8 +30,8 @@ namespace AZ
|
|||||||
|
|
||||||
if (text && textLength > 0)
|
if (text && textLength > 0)
|
||||||
{
|
{
|
||||||
static constexpr const char* trueString = "true";
|
static constexpr const char trueString[] = "true";
|
||||||
static constexpr const char* falseString = "false";
|
static constexpr const char falseString[] = "false";
|
||||||
// remove null terminator for string length counts
|
// remove null terminator for string length counts
|
||||||
// rapidjson stringlength doesn't include it in length calculations, but sizeof() will
|
// rapidjson stringlength doesn't include it in length calculations, but sizeof() will
|
||||||
static constexpr size_t trueStringLength = sizeof(trueString) - 1;
|
static constexpr size_t trueStringLength = sizeof(trueString) - 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user