added const

This commit is contained in:
Jorijn van der Graaf 2024-12-30 20:18:23 +01:00
commit 9d4dca4fc1
2 changed files with 2 additions and 2 deletions

View file

@ -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())
{