From a0c5bcc52c2feac732e42771faf23c6607f0d00c Mon Sep 17 00:00:00 2001 From: Mordred Date: Mon, 31 Jan 2022 08:41:49 +0100 Subject: [PATCH] Fix nix build --- src/world/Territory/InstanceObjectCache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/world/Territory/InstanceObjectCache.h b/src/world/Territory/InstanceObjectCache.h index dc3c5f13..2c54bd6c 100644 --- a/src/world/Territory/InstanceObjectCache.h +++ b/src/world/Territory/InstanceObjectCache.h @@ -59,7 +59,7 @@ namespace Sapphire size_t size() const { size_t size = 0; - for( auto& it = m_objectCache.begin(); it != m_objectCache.end(); ++it ) + for( auto it = m_objectCache.begin(); it != m_objectCache.end(); ++it ) size += it->second.size(); return size;