1
0
Fork 0
mirror of https://github.com/HackHerz/pusher synced 2025-12-06 02:10:19 +00:00

New version of the json library

This commit is contained in:
Daniel Stein 2016-06-21 11:03:55 +02:00
parent 34bd85a206
commit bf4d174431
3 changed files with 8324 additions and 1985 deletions

File diff suppressed because it is too large Load diff

View file

@ -159,7 +159,7 @@ vector<PushHandler::Device> PushHandler::getDevices()
Device buf; Device buf;
buf.title = element["title"].get<string>(); buf.title = element["title"].get<string>();
buf.id = element["id"].get<string>(); buf.id = to_string(element["id"].get<int>());
buf.model = element["model"].get<string>(); buf.model = element["model"].get<string>();
buffer.push_back(buf); buffer.push_back(buf);