chore: nitpicks on rendercomponent changes (#1440)

* nitpicks on rendercomponent

* undo constexpr
This commit is contained in:
jadebenn 2024-02-01 09:43:28 -06:00 committed by GitHub
parent b23981e591
commit 050184c558
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ void RenderComponent::Serialize(RakNet::BitStream* outBitStream, bool bIsInitial
}
Effect& RenderComponent::AddEffect(const int32_t effectId, const std::string& name, const std::u16string& type, const float priority) {
return m_Effects.emplace_back(Effect{ effectId, name, type, priority });
return m_Effects.emplace_back(effectId, name, type, priority);
}
void RenderComponent::RemoveEffect(const std::string& name) {