mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
fix: pass pointer to root after parser initialization
This commit is contained in:
@@ -26,7 +26,9 @@ namespace config
|
||||
{
|
||||
|
||||
TOMLParser::TOMLParser(char *filename) : tokenizer(filename)
|
||||
{};
|
||||
{
|
||||
root = new TOMLMap;
|
||||
}
|
||||
|
||||
void TOMLParser::processMap(void)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user