diff options
author | Linus Groh <mail@linusgroh.de> | 2020-04-09 12:09:24 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-04-09 13:21:24 +0200 |
commit | 520c4254c9408507a70735a592c66a8de33cb1f0 (patch) | |
tree | 0a8cca404c5e9237eb858fcc8697c3e5ccf9bed0 /Libraries/LibJS/Runtime | |
parent | 551cafe4d3dc04620fa2468d53f922398daae76d (diff) | |
download | serenity-520c4254c9408507a70735a592c66a8de33cb1f0.zip |
LibJS: Make BooleanPrototype inherit from Object
BooleanPrototype should inherit from Object, not BooleanObject.
Diffstat (limited to 'Libraries/LibJS/Runtime')
-rw-r--r-- | Libraries/LibJS/Runtime/BooleanPrototype.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/BooleanPrototype.h b/Libraries/LibJS/Runtime/BooleanPrototype.h index 4050767839..795a058cd3 100644 --- a/Libraries/LibJS/Runtime/BooleanPrototype.h +++ b/Libraries/LibJS/Runtime/BooleanPrototype.h @@ -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&); }; + } |