Fix build with clang.

(cherry picked from commit aae3a570c2)
This commit is contained in:
Martin Whitaker 2021-01-03 10:48:21 +00:00
parent 48615fb8ac
commit d56efebbfe
2 changed files with 2 additions and 2 deletions

View File

@ -292,7 +292,7 @@ class ExpAggregate : public Expression {
} }
# if __cplusplus >= 201103L # if __cplusplus >= 201103L
constexpr choice_element& operator = (const choice_element&that) = default; choice_element& operator = (const choice_element&that) = default;
# endif # endif
choice_t*choice; choice_t*choice;

View File

@ -161,7 +161,7 @@ class __vpiDecConst : public __vpiHandle {
explicit __vpiDecConst(int val =0); explicit __vpiDecConst(int val =0);
__vpiDecConst(const __vpiDecConst&that); __vpiDecConst(const __vpiDecConst&that);
# if __cplusplus >= 201103L # if __cplusplus >= 201103L
constexpr __vpiDecConst& operator = (const __vpiDecConst&that) = default; __vpiDecConst& operator = (const __vpiDecConst&that) = default;
# endif # endif
int get_type_code(void) const; int get_type_code(void) const;
int vpi_get(int code); int vpi_get(int code);