Merge pull request #301 from josh33901/master
Fix bug in vararg call uncaught by g++
This commit is contained in:
commit
f166457242
@ -86,7 +86,7 @@ void processing_thread() {
|
|||||||
unsigned userid = strtoul(it.key().substr(5).c_str(), nullptr, 10);
|
unsigned userid = strtoul(it.key().substr(5).c_str(), nullptr, 10);
|
||||||
const auto& v = it.value();
|
const auto& v = it.value();
|
||||||
if (not v.is_object()) {
|
if (not v.is_object()) {
|
||||||
logging::Info("Data for %u (%s) is not an object!", userid, it.key());
|
logging::Info("Data for %u (%s) is not an object!", userid, it.key().c_str());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
std::string name = v.at("name");
|
std::string name = v.at("name");
|
||||||
|
Reference in New Issue
Block a user