From b1ba67f02d39d0aac92b6181a41140fa8412e046 Mon Sep 17 00:00:00 2001 From: Jose Luis Blanco-Claraco Date: Wed, 18 Oct 2023 02:58:15 +0200 Subject: [PATCH] fix: move temporary --- libs/maps/src/maps/CVoxelMap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/maps/src/maps/CVoxelMap.cpp b/libs/maps/src/maps/CVoxelMap.cpp index 9c61b3aef6..328811621f 100644 --- a/libs/maps/src/maps/CVoxelMap.cpp +++ b/libs/maps/src/maps/CVoxelMap.cpp @@ -101,7 +101,7 @@ void CVoxelMap::serializeFrom( Bonxai::HeaderInfo info = Bonxai::GetHeaderInfo(header); m_impl = std::make_unique( - std::move(Bonxai::Deserialize(ifile, info))); + Bonxai::Deserialize(ifile, info)); } break; default: MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(version);