Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarSectorArray2D.hpp
diff options
context:
space:
mode:
authorKai Blaschke <kai.blaschke@kb-dev.net>2024-02-19 18:39:01 +0100
committerKai Blaschke <kai.blaschke@kb-dev.net>2024-02-19 18:39:01 +0100
commit7c4fbad2ba7d79580a9ebbf9fde1de117be4d08e (patch)
treef7c8e96e744222857c613e5fd14720d2695613c3 /source/core/StarSectorArray2D.hpp
parent431a9c00a56cf4c603be1cf5f773b193621d8150 (diff)
Removed some redundant std::move usages in return statements.
Diffstat (limited to 'source/core/StarSectorArray2D.hpp')
-rw-r--r--source/core/StarSectorArray2D.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarSectorArray2D.hpp b/source/core/StarSectorArray2D.hpp
index 870881f..1dd88a1 100644
--- a/source/core/StarSectorArray2D.hpp
+++ b/source/core/StarSectorArray2D.hpp
@@ -235,7 +235,7 @@ typename SectorArray2D<ElementT, SectorSize>::ArrayPtr SectorArray2D<ElementT, S
ArrayPtr ret;
m_loadedSectors.remove(id);
std::swap(m_sectors(id[0], id[1]), ret);
- return std::move(ret);
+ return ret;
}
template <typename ElementT, size_t SectorSize>