From 1e9eaa5c7bcaddece6abe67b6441c6940a5f1193 Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Tue, 21 Sep 2021 22:36:34 +0200 Subject: [PATCH] REVERT: Revert unecessary changes --- include/caosdb/entity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/caosdb/entity.h b/include/caosdb/entity.h index c066c7e..3cd8f14 100644 --- a/include/caosdb/entity.h +++ b/include/caosdb/entity.h @@ -142,7 +142,7 @@ public: throw std::out_of_range("Container has size " + std::to_string(size())); } if (cache.count(index) == 0) { - cache.emplace(std::move(index), std::move(T(this->wrapped->Mutable(index)))); + cache.emplace(index, T(this->wrapped->Mutable(index))); } return &(cache.at(index)); } -- GitLab