src/util/configuration.cpp
/*
 * Insert another TOML table into the main Configuration table
 */
Insert another TOML table into the main Configuration table
Insert another TOML table into the main Configuration table
void Configuration::insertIntoMainTable(std::shared_ptr<cpptoml::table> other) {
    auto tomlTable = table.getTomlTable();
    for(auto it = other->begin(); it != other->end(); ++it){
        tomlTable->insert(it->first, it->second);
    }
}
void Configuration :: insertIntoMainTable ( std :: shared_ptr < cpptoml :: table > other ) { auto tomlTable = table . getTomlTable ( ) ; for ( auto it = other -> begin ( ) ; it != other -> end ( ) ; ++ it ) { tomlTable -> insert ( it -> first , it -> second ) ; } }
Insert another TOML table into the main Configuration table
Insert another TOML table into the main Configuration table
//it is iterator for a map<string, shared_ptr<base>>