diff --git a/vhdlpp/expression.h b/vhdlpp/expression.h index c93e600ad..10cfcfb31 100644 --- a/vhdlpp/expression.h +++ b/vhdlpp/expression.h @@ -292,7 +292,7 @@ class ExpAggregate : public Expression { } # if __cplusplus >= 201103L - constexpr choice_element& operator = (const choice_element&that) = default; + choice_element& operator = (const choice_element&that) = default; # endif choice_t*choice; diff --git a/vvp/vpi_priv.h b/vvp/vpi_priv.h index 96e201a18..1d9bccfce 100644 --- a/vvp/vpi_priv.h +++ b/vvp/vpi_priv.h @@ -161,7 +161,7 @@ class __vpiDecConst : public __vpiHandle { explicit __vpiDecConst(int val =0); __vpiDecConst(const __vpiDecConst&that); # if __cplusplus >= 201103L - constexpr __vpiDecConst& operator = (const __vpiDecConst&that) = default; + __vpiDecConst& operator = (const __vpiDecConst&that) = default; # endif int get_type_code(void) const; int vpi_get(int code);