We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36100cc commit 41ca45eCopy full SHA for 41ca45e
src/lobby/web_client.cpp
@@ -1,6 +1,7 @@
1
2
#include "./web_client.hpp"
3
4
+#include <core/helper/utils.hpp>
5
#include <core/helper/magic_enum_wrapper.hpp>
6
7
// Note: this uses emscripten fetch
@@ -150,7 +151,7 @@ namespace {
150
151
emscripten_fetch_attr_t attr{};
152
emscripten_fetch_attr_init(&attr);
153
- assert(method.size() <= (max_method_size - 1));
154
+ ASSERT(method.size() <= (max_method_size - 1));
155
std::memcpy(attr.requestMethod, method.c_str(), method.size() + 1);
156
157
//TODO(Totto): once the http Implementation "Interface" support async thing, use that:
0 commit comments