mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2024-09-09 21:54:44 +00:00
12 lines
218 B
C++
12 lines
218 B
C++
|
#include "stdafx.h"
|
||
|
#include "parser_t.h"
|
||
|
|
||
|
simdjson::dom::parser parser_t::m_parser;
|
||
|
|
||
|
parser_t::parser_t(const std::string path) noexcept
|
||
|
: m_path(path) {}
|
||
|
|
||
|
void parser_t::load() {
|
||
|
m_raw = m_parser.load(path());
|
||
|
}
|