added const
This commit is contained in:
parent
0de3a8a48b
commit
9d4dca4fc1
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ Configuration::Configuration(std::string name, std::string standard, std::vector
|
|||
|
||||
}
|
||||
|
||||
Configuration::Configuration(nlohmann::json& configs, nlohmann::json& config, fs::path workingDir) {
|
||||
Configuration::Configuration(const nlohmann::json& configs, const nlohmann::json& config, fs::path workingDir) {
|
||||
name = config["name"].get<std::string>();
|
||||
for (auto& [key, val] : config.items())
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue