diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-16 04:46:41 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-01-16 04:46:41 +0100 |
commit | 371f3ba371355ef204bf26bfe8aac962cebc1e4c (patch) | |
tree | 09a081d0ec9b322b832e3dfea35a442a72b72a75 /editor/vobj-editor.hpp | |
parent | c8c86c776483a60b988b18257573009b9897fd6c (diff) |
b
Diffstat (limited to 'editor/vobj-editor.hpp')
-rw-r--r-- | editor/vobj-editor.hpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/editor/vobj-editor.hpp b/editor/vobj-editor.hpp index d5af27ba..962212c7 100644 --- a/editor/vobj-editor.hpp +++ b/editor/vobj-editor.hpp @@ -14,11 +14,6 @@ class anim_atlas; struct vobj_info; struct app; -#if defined __clang__ || defined __CLION_IDE__ -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Wweak-vtables" -#endif - struct vobj_factory { vobj_factory(); @@ -32,12 +27,9 @@ struct vobj_factory std::shared_ptr<anim_atlas> atlas() const; }; -#if defined __clang__ || defined __CLION_IDE__ -#pragma clang diagnostic pop -#endif - -struct vobj_editor final +class vobj_editor final { +public: struct vobj_ final { StringView name, descr; std::unique_ptr<vobj_factory> factory; |