Kernel: Don't compile JsonValue & friends into the kernel

This commit is contained in:
Andreas Kling 2021-06-30 11:31:12 +02:00
commit 6f0e8f823b
Notes: sideshowbarker 2024-07-18 11:13:04 +09:00
4 changed files with 53 additions and 4 deletions

View file

@ -5,7 +5,6 @@
*/
#include <AK/JsonArraySerializer.h>
#include <AK/JsonObject.h>
#include <AK/JsonObjectSerializer.h>
#include <AK/JsonValue.h>
#include <Kernel/Arch/x86/InterruptDisabler.h>
@ -44,7 +43,7 @@ private:
address = 0xdeadc0de;
kernel_address_added = true;
}
array.add(JsonValue(address));
array.add(address);
}
array.finish();