1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 11:17:43 +00:00

LibJS: Fix BooleanPrototype build

This commit is contained in:
Andreas Kling 2020-04-09 14:29:57 +02:00
parent e983c745f7
commit cbecb23e1d

View file

@ -26,12 +26,13 @@
#include <AK/Function.h> #include <AK/Function.h>
#include <LibJS/Interpreter.h> #include <LibJS/Interpreter.h>
#include <LibJS/Runtime/BooleanObject.h>
#include <LibJS/Runtime/BooleanPrototype.h> #include <LibJS/Runtime/BooleanPrototype.h>
#include <LibJS/Runtime/Error.h> #include <LibJS/Runtime/Error.h>
namespace JS { namespace JS {
BooleanPrototype::BooleanPrototype() BooleanPrototype::BooleanPrototype()
: BooleanObject(false)
{ {
put_native_function("toString", to_string); put_native_function("toString", to_string);
put_native_function("valueOf", value_of); put_native_function("valueOf", value_of);