@@ -146,7 +146,7 @@ void Param::MergeJsonPatch(const std::string& patch) {
146146}
147147
148148// -----------------------------------------------------------------------------
149- void AssignThreadSafetyMechanism (const toml::table & config, Param* param) {
149+ void AssignThreadSafetyMechanism (const TomlConfig & config, Param* param) {
150150 auto value =
151151 config.at_path (" simulation.thread_safety_mechanism" ).value <std::string>();
152152 if (!value) {
@@ -164,7 +164,7 @@ void AssignThreadSafetyMechanism(const toml::table& config, Param* param) {
164164}
165165
166166// -----------------------------------------------------------------------------
167- void AssignMappedDataArrayMode (const toml::table & config, Param* param) {
167+ void AssignMappedDataArrayMode (const TomlConfig & config, Param* param) {
168168 auto value =
169169 config.at_path (" performance.mapped_data_array_mode" ).value <std::string>();
170170 if (!value) {
@@ -186,7 +186,7 @@ void AssignMappedDataArrayMode(const toml::table& config, Param* param) {
186186}
187187
188188// -----------------------------------------------------------------------------
189- void AssignBoundSpaceMode (const toml::table & config, Param* param) {
189+ void AssignBoundSpaceMode (const TomlConfig & config, Param* param) {
190190 auto value = config.at_path (" simulation.bound_space" ).value <std::string>();
191191 if (!value) {
192192 return ;
@@ -206,7 +206,7 @@ void AssignBoundSpaceMode(const toml::table& config, Param* param) {
206206}
207207
208208// -----------------------------------------------------------------------------
209- void Param::AssignFromConfig (const toml::table & config) {
209+ void Param::AssignFromConfig (const TomlConfig & config) {
210210 // group parameters
211211 for (auto & el : groups_) {
212212 el.second ->AssignFromConfig (config);
0 commit comments