summaryrefslogtreecommitdiff
path: root/Libraries/LibJS/Runtime
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-04-09 14:29:57 +0200
committerAndreas Kling <kling@serenityos.org>2020-04-09 14:29:57 +0200
commitcbecb23e1d09414bf098be0c28aef3073c7d4fa3 (patch)
tree05cf8c1323bbf6c443ede3873cc77beaf0f7d096 /Libraries/LibJS/Runtime
parente983c745f72fa855c40c3eb85cfa6853a9f7f3b2 (diff)
downloadserenity-cbecb23e1d09414bf098be0c28aef3073c7d4fa3.zip
LibJS: Fix BooleanPrototype build
Diffstat (limited to 'Libraries/LibJS/Runtime')
-rw-r--r--Libraries/LibJS/Runtime/BooleanPrototype.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/BooleanPrototype.cpp b/Libraries/LibJS/Runtime/BooleanPrototype.cpp
index c7423dd492..a63ab9a110 100644
--- a/Libraries/LibJS/Runtime/BooleanPrototype.cpp
+++ b/Libraries/LibJS/Runtime/BooleanPrototype.cpp
@@ -26,12 +26,13 @@
#include <AK/Function.h>
#include <LibJS/Interpreter.h>
+#include <LibJS/Runtime/BooleanObject.h>
#include <LibJS/Runtime/BooleanPrototype.h>
#include <LibJS/Runtime/Error.h>
namespace JS {
+
BooleanPrototype::BooleanPrototype()
- : BooleanObject(false)
{
put_native_function("toString", to_string);
put_native_function("valueOf", value_of);