From 750b1aa8ce36b541837221dfd61d961df71accdc Mon Sep 17 00:00:00 2001 From: Michael Uleysky Date: Wed, 5 Oct 2016 12:02:05 +1000 Subject: [PATCH] Gmt module: Remove another std::move from Parameter class. --- modules/gmt/modgmt_param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;