diff --git a/src/auxiliary/TemplateFile.cpp b/src/auxiliary/TemplateFile.cpp index bd88c7756a..1ac672a524 100644 --- a/src/auxiliary/TemplateFile.cpp +++ b/src/auxiliary/TemplateFile.cpp @@ -76,7 +76,7 @@ namespace } auto attr = source.getAttribute(attrName); auto dtype = attr.dtype; - switchType(dtype, target, attrName, std::move(attr)); + switchType(dtype, target, attrName, attr); } }