Browse Source

LibJS: Fix BooleanPrototype build

Andreas Kling 5 years ago
parent
commit
cbecb23e1d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Libraries/LibJS/Runtime/BooleanPrototype.cpp

+ 2 - 1
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);