From d56efebbfed17468164d613a8db28ec39718d685 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 3 Jan 2021 10:48:21 +0000 Subject: [PATCH] Fix build with clang. (cherry picked from commit aae3a570c2e056c9458b688fd925c0ad00125825) --- vhdlpp/expression.h | 2 +- vvp/vpi_priv.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);