mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 16:05:17 +02:00
fix VS2019 (Version 16.5.1) builds
This commit is contained in:
parent
e3d4856415
commit
aa5413fd71
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ BatchPointer Deserializer::readBatch(const json& node) {
|
||||||
|
|
||||||
std::string batchName;
|
std::string batchName;
|
||||||
if (node.count(keys::name)) {
|
if (node.count(keys::name)) {
|
||||||
batchName = node[keys::name];
|
batchName = node.value(keys::name, "");
|
||||||
}
|
}
|
||||||
BatchPointer result = std::make_shared<Batch>(batchName);
|
BatchPointer result = std::make_shared<Batch>(batchName);
|
||||||
auto& batch = *result;
|
auto& batch = *result;
|
||||||
|
|
Loading…
Reference in a new issue