diff --git a/DDCore/include/DD4hep/ConditionAny.h b/DDCore/include/DD4hep/ConditionAny.h index 124430b3841257f1b7e56bb9660fc70fb8502cdc..7eba2ba44cc37a7941daf9220f0f0f0d89b23a7c 100644 --- a/DDCore/include/DD4hep/ConditionAny.h +++ b/DDCore/include/DD4hep/ConditionAny.h @@ -137,7 +137,7 @@ namespace dd4hep { template <typename PAYLOAD> inline ConditionAny::ConditionAny(const std::string& name, const std::string& type, PAYLOAD&& data) { ConditionAny c(name, type); - c.get() = data; + c.get() = std::move(data); this->m_element = c.ptr(); }