diff --git a/Userland/Libraries/LibGUI/Object.h b/Userland/Libraries/LibGUI/Object.h index ef3cbfcf27..ed5ab8a529 100644 --- a/Userland/Libraries/LibGUI/Object.h +++ b/Userland/Libraries/LibGUI/Object.h @@ -58,8 +58,6 @@ public: protected: explicit Object(Core::EventReceiver* parent = nullptr); - void register_property(ByteString const& name, Function getter, Function setter = nullptr); - template void register_property(StringView name, Getter&& getter, Deserializer&& deserializer, Setter&& setter) { @@ -98,6 +96,8 @@ protected: } private: + void register_property(ByteString const& name, Function getter, Function setter = nullptr); + HashMap> m_properties; };