mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
code style improvement
This commit is contained in:
parent
a5f9efb3df
commit
011f303397
@ -33,7 +33,7 @@ Node & resolvePointer(Node & in, const std::string & pointer)
|
||||
|
||||
size_t splitPos = pointer.find('/', 1);
|
||||
|
||||
std::string entry = pointer.substr(1, splitPos -1);
|
||||
std::string entry = pointer.substr(1, splitPos - 1);
|
||||
std::string remainer = splitPos == std::string::npos ? "" : pointer.substr(splitPos);
|
||||
|
||||
if (in.getType() == VCMI_LIB_WRAP_NAMESPACE(JsonNode)::JsonType::DATA_VECTOR)
|
||||
|
Loading…
x
Reference in New Issue
Block a user