addressing PR comments/suggestions

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-05 19:30:09 -07:00
parent 84623dfb66
commit 895dc09176
6 changed files with 63 additions and 9 deletions
+1 -3
View File
@@ -132,9 +132,7 @@ const CTypeInfo&PtrTypeInfo()
// bool
AZStd::string ToString(bool const& val)
{
static AZStd::fixed_string<5> sTrue = "true";
static AZStd::fixed_string<6> sFalse = "false";
return val ? sTrue.c_str() : sFalse.c_str();
return val ? "true" : "false";
}
bool FromString(bool& val, cstr s)