Skip to content

Commit

Permalink
Add semicolon, workaround for HeaderTool issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
MineBill committed Oct 7, 2024
1 parent 7162222 commit 0ae32b9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Fussion/Source/Fussion/Scene/Components/ScriptComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
namespace Fussion {
class [[API]] ScriptComponent final : public Component {
public:
COMPONENT_DEFAULT(ScriptComponent)
COMPONENT_DEFAULT(ScriptComponent);

[[API]]
std::string ClassName {};

virtual void OnStart() override;
virtual void OnUpdate(f32) override;
Expand All @@ -15,8 +18,6 @@ namespace Fussion {

void test() const;

std::string ClassName {};

virtual auto Clone() -> Ref<Component> override;

virtual void Serialize(Serializer& ctx) const override;
Expand Down

0 comments on commit 0ae32b9

Please sign in to comment.