From acbe6b5d4256db950827b120fe7cd781e45715f6 Mon Sep 17 00:00:00 2001 From: max-001 Date: Thu, 7 Nov 2024 12:36:08 +0100 Subject: Made name and tag const --- src/crepe/api/Metadata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crepe/api/Metadata.cpp') diff --git a/src/crepe/api/Metadata.cpp b/src/crepe/api/Metadata.cpp index 53d93da..55d9ae2 100644 --- a/src/crepe/api/Metadata.cpp +++ b/src/crepe/api/Metadata.cpp @@ -5,4 +5,4 @@ using namespace std; Metadata::Metadata(uint32_t game_object_id, const string & name, const string & tag) - : Component(game_object_id), name(name), tag(tag) {} + : Component(game_object_id), NAME(name), TAG(tag) {} -- cgit v1.2.3