refactor: separate parsing classes

This commit is contained in:
3lswear
2022-01-22 13:58:44 +03:00
parent 7e82ea0f86
commit 51a3050beb
12 changed files with 609 additions and 515 deletions

View File

@@ -1,4 +1,3 @@
#include "webserv.hpp"
#include "TOMLNode.hpp"
/* toml_node::toml_node(void) */
@@ -143,7 +142,7 @@ std::string *toml_node::toString(void) const
}
}
std::string *TOMLMap_to_string(TOMLMap *map)
std::string *toml_node::TOMLMap_to_string(TOMLMap *map)
{
std::stringstream ss;
std::string *result = new std::string();