mirror of
https://github.com/ohwgiles/laminar.git
synced 2024-10-27 20:34:20 +00:00
fix: spell out the constructor for gcc4.8
This commit is contained in:
parent
f1e4d10be3
commit
180b5b7117
@ -388,7 +388,7 @@ bool Laminar::loadConfiguration() {
|
||||
|
||||
std::string nodeName = it->path().stem().string();
|
||||
auto existingNode = nodes.find(nodeName);
|
||||
std::shared_ptr<Node> node = existingNode == nodes.end() ? nodes.emplace(nodeName, new Node).first->second : existingNode->second;
|
||||
std::shared_ptr<Node> node = existingNode == nodes.end() ? nodes.emplace(nodeName, std::shared_ptr<Node>(new Node)).first->second : existingNode->second;
|
||||
node->name = nodeName;
|
||||
node->numExecutors = conf.get<int>("EXECUTORS", 6);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user