mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
refactor: separate parsing classes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user