diff --git a/common/content/world_content_service.cpp b/common/content/world_content_service.cpp index 27be467cf..5bd19ba96 100644 --- a/common/content/world_content_service.cpp +++ b/common/content/world_content_service.cpp @@ -120,7 +120,7 @@ std::vector WorldContentService::GetContentFlagsDisabled() /** * @param content_flags */ -void WorldContentService::SetContentFlags(std::vector content_flags) +void WorldContentService::SetContentFlags(const std::vector& content_flags) { WorldContentService::content_flags = content_flags; } diff --git a/common/content/world_content_service.h b/common/content/world_content_service.h index de667ad1d..f2661831a 100644 --- a/common/content/world_content_service.h +++ b/common/content/world_content_service.h @@ -167,7 +167,7 @@ public: std::vector GetContentFlagsDisabled(); bool IsContentFlagEnabled(const std::string& content_flag); bool IsContentFlagDisabled(const std::string& content_flag); - void SetContentFlags(std::vector content_flags); + void SetContentFlags(const std::vector& content_flags); void ReloadContentFlags(); WorldContentService * SetExpansionContext();