removing the warning thrown until I can figure out how the hell to do that properly
This commit is contained in:
parent
ba4fda62ee
commit
5d8b8e0f39
|
@ -832,8 +832,7 @@ void lookUpWorldName(std::string alias, char* buffer/*replies*/) {
|
||||||
typeid((*key)["position"][1]).name() != "int" ||
|
typeid((*key)["position"][1]).name() != "int" ||
|
||||||
typeid((*key)["position"][2]).name() != "int" ||
|
typeid((*key)["position"][2]).name() != "int" ||
|
||||||
typeid((*key)["position"][3]).name() != "int") {
|
typeid((*key)["position"][3]).name() != "int") {
|
||||||
std::cout << "ERROR: expected type int when reading position. PLEASE CHECK your marks.json!!!\n";
|
//std::cout << "ERROR: expected type int when reading position. PLEASE CHECK your marks.json!!!\n";
|
||||||
std::cout << typeid((*key)["position"][0]).name();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
details.name = (*key)["name"].get<std::string>();
|
details.name = (*key)["name"].get<std::string>();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user