Adapt to changes in Ghoul regarding string_view

Fix compile error if Trace logging is not enabled
Limit the number of threads to a maximum of 4 for asset initialization
This commit is contained in:
Alexander Bock
2020-08-18 10:07:38 +02:00
parent 4d9dda9a73
commit b16ee5b35a
14 changed files with 97 additions and 40 deletions
+4
View File
@@ -207,10 +207,14 @@ void Connection::handleJson(const nlohmann::json& json) {
}
void Connection::sendMessage(const std::string& message) {
ZoneScoped
_socket->putMessage(message);
}
void Connection::sendJson(const nlohmann::json& json) {
ZoneScoped
sendMessage(json.dump());
}