mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-15 12:38:31 +00:00
Remove shared pointer, ODR of componentType variable
This commit is contained in:
@@ -56,7 +56,7 @@ struct Effect {
|
||||
*/
|
||||
class RenderComponent : public Component {
|
||||
public:
|
||||
static const eReplicaComponentType ComponentType = eReplicaComponentType::RENDER;
|
||||
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::RENDER;
|
||||
|
||||
RenderComponent(Entity* entity, int32_t componentId = -1);
|
||||
~RenderComponent() override;
|
||||
|
||||
Reference in New Issue
Block a user