mirror of
https://github.com/dlang/phobos.git
synced 2025-04-28 06:00:35 +03:00
Replace more implicit array to bool conversions
This commit is contained in:
parent
ad5ae8767f
commit
f255c9e689
7 changed files with 20 additions and 20 deletions
|
@ -714,7 +714,7 @@ JSONValue parseJSON(T)(T json, int maxDepth = -1) if(isInputRange!T)
|
|||
goto Next;
|
||||
}
|
||||
|
||||
return str.data ? str.data : "";
|
||||
return str.data.length ? str.data : "";
|
||||
}
|
||||
|
||||
void parseValue(JSONValue* value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue