This commit is contained in:
Nav
2021-10-29 22:48:28 +01:00
parent 77cefd8308
commit 8f3a51e644
3 changed files with 5 additions and 10 deletions

View File

@@ -58,7 +58,7 @@ void EnvironmentConfig::init(std::string name, QJsonObject jsonObject) {
throw Exceptions::InvalidConfig("No target configuration provided.");
}
this->name = name;
this->name = std::move(name);
this->debugToolConfig.init(jsonObject.find("debugTool")->toObject());
this->targetConfig.init(jsonObject.find("target")->toObject());