diff --git a/modules/gmt/modgmt_param.h b/modules/gmt/modgmt_param.h index 0efc02d..08adbaa 100644 --- a/modules/gmt/modgmt_param.h +++ b/modules/gmt/modgmt_param.h @@ -18,7 +18,7 @@ class Parameter template struct Adapter {static const typename Conv::ValueType& Val(const Conv& cnv) {return cnv.Default();}}; template - struct Adapter {static typename Conv::ValueType&& Val(const Conv& cnv) {return std::move(typename Conv::ValueType());}}; + struct Adapter {static typename Conv::ValueType Val(const Conv& cnv) {return typename Conv::ValueType();}}; template struct CheckDefault