feat: first working simple version

This commit is contained in:
3lswear
2022-01-07 01:42:51 +03:00
parent acac336b21
commit 5639d54519
6 changed files with 149 additions and 44 deletions

View File

@@ -26,8 +26,8 @@ namespace config
void display(TOMLMap *config)
{
std::cout << "printing config:" << std::endl;
std::cout << (*config)["name"] << std::endl;
std::cout << (*config)["port"] << std::endl;
std::cout << "name: " << *(*config)["name"]->toString() << std::endl;
std::cout << "port: " << *(*config)["port"]->toString() << std::endl;
}
}