1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:27:35 +00:00

LibJS: Make BooleanPrototype inherit from Object

BooleanPrototype should inherit from Object, not BooleanObject.
This commit is contained in:
Linus Groh 2020-04-09 12:09:24 +01:00 committed by Andreas Kling
parent 551cafe4d3
commit 520c4254c9

View file

@ -26,10 +26,11 @@
#pragma once
#include <LibJS/Runtime/BooleanObject.h>
#include <LibJS/Runtime/Object.h>
namespace JS {
class BooleanPrototype final : public BooleanObject {
class BooleanPrototype final : public Object {
public:
BooleanPrototype();
virtual ~BooleanPrototype() override;
@ -40,4 +41,5 @@ private:
static Value to_string(Interpreter&);
static Value value_of(Interpreter&);
};
}