mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Get ready for Json decode.
This commit is contained in:
@@ -75,7 +75,7 @@ SField::ref SField::getField(int type, int value)
|
||||
|
||||
std::string SField::getName() const
|
||||
{
|
||||
if (fieldName != NULL)
|
||||
if (!fieldName.empty())
|
||||
return fieldName;
|
||||
if (fieldValue == 0)
|
||||
return "";
|
||||
|
||||
Reference in New Issue
Block a user