From 2a90995c6fc6f0fc85244e7728f63e7eae35fa4e Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 4 Aug 2022 15:39:57 -0400 Subject: [PATCH] remove const on external_worldspawn so it can be moved --- qbsp/map.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbsp/map.cc b/qbsp/map.cc index 667aa393..75fde4e9 100644 --- a/qbsp/map.cc +++ b/qbsp/map.cc @@ -2059,7 +2059,7 @@ void ProcessExternalMapEntity(mapentity_t *entity) Q_assert(0 == entity->mapbrushes.size()); // misc_external_map must be a point entity - const mapentity_t external_worldspawn = LoadExternalMap(file); + mapentity_t external_worldspawn = LoadExternalMap(file); // copy the brushes into the target entity->mapbrushes = std::move(external_worldspawn.mapbrushes);