From b151529437b0b95b4605629a65e14c39eaff2678 Mon Sep 17 00:00:00 2001 From: Andrey Zimin Date: Thu, 23 May 2024 11:00:00 +0300 Subject: [PATCH] fix public def --- src/utils/define.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/utils/define.hpp b/src/utils/define.hpp index 4bd0cf2..d56e099 100755 --- a/src/utils/define.hpp +++ b/src/utils/define.hpp @@ -7,10 +7,11 @@ std::bind(&application::on_event, this, std::placeholders::_1) #define VE_FN_OVERIDE()\ - void on_attach() override;\ - void on_detach() override;\ - void render() override;\ - void on_event(VE::event e) override + public:\ + void on_attach() override;\ + void on_detach() override;\ + void render() override;\ + void on_event(VE::event e) override #define VE_PUSH_FONT(def_font, def_size)\ ImGui::PushFont(VE::style::fonts::get_font(VE::style::fonts::font_type::def_font, def_size))