Skip to content
Snippets Groups Projects
Commit 5ac0b1e7 authored by Andrea Dell'Acqua's avatar Andrea Dell'Acqua
Browse files

tidy up JSONParser

parent 2436601f
Branches
Tags
No related merge requests found
......@@ -14,10 +14,8 @@ using json = nlohmann::json;
class JSONParser {
public:
JSONParser() {addFile("Units.js");}
JSONParser(const char* files)
{
//addFile("Units.js");
std::istringstream iss(files);
std::string token;
while (std::getline(iss, token, ':'))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment