diff --git a/modules/gmt/modgmt_param.h b/modules/gmt/modgmt_param.h index a80154f..90d1dc5 100644 --- a/modules/gmt/modgmt_param.h +++ b/modules/gmt/modgmt_param.h @@ -66,7 +66,7 @@ class Parameter const ValueType& Value() {return val;} const ValueType* operator->() const {return &val;} operator const ValueType&() {return val;} - void Reset() {initialised=false; val=std::move(Adapter::value>::Val(conv));} + void Reset() {initialised=false; val=Adapter::value>::Val(conv);} static constexpr bool optional=Optional; using ConverterType=Converter;