Common.h shouldn't include Log.h.

Buildfixes

More buildfixes. Move JSON code to common.
This commit is contained in:
Henrik Rydgård committed 2020-10-04 11:42:14 +02:00
1 parent 9e41fafd0d
commit 989e353482
56 files changed
+164 -142

No files matched your search

@@ -17,10 +17,17 @@
#include <cmath>
#include <limits>
#include "Common/Data/Text/Parsers.h"
#include "Common/StringUtils.h"
#include "Core/Debugger/WebSocket/WebSocketUtils.h"
inline void DebuggerJsonAddTicket(JsonWriter &writer, const JsonGet &data) {
const JsonNode *value = data.get("ticket");
if (value)
writer.writeRaw("ticket", json_stringify(value));
}
JsonWriter &DebuggerRequest::Respond() {
writer_.begin();
writer_.writeString("event", name);