Browse Source

Gmt module: Remove another std::move from Parameter class.

gmtdatadir
Michael Uleysky 8 years ago
parent
commit
750b1aa8ce
  1. 2
      modules/gmt/modgmt_param.h

2
modules/gmt/modgmt_param.h

@ -66,7 +66,7 @@ class Parameter
const ValueType& Value() {return val;} const ValueType& Value() {return val;}
const ValueType* operator->() const {return &val;} const ValueType* operator->() const {return &val;}
operator const ValueType&() {return val;} operator const ValueType&() {return val;}
void Reset() {initialised=false; val=std::move(Adapter<CheckDefault<Converter>::value>::Val(conv));} void Reset() {initialised=false; val=Adapter<CheckDefault<Converter>::value>::Val(conv);}
static constexpr bool optional=Optional; static constexpr bool optional=Optional;
using ConverterType=Converter; using ConverterType=Converter;

Loading…
Cancel
Save