diff options
author | Ken Matsui <26405363+matken11235@users.noreply.github.com> | 2019-09-12 08:48:18 +0900 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2019-09-11 18:48:18 -0500 |
commit | dc3cee7cf3d49ad592139042a8e15e3905e55ee9 (patch) | |
tree | 4b2c73cbe54e1120443b8f2891d7cad19e059e64 /src/expr | |
parent | e173f47af5ab1c7245c11e0f8d0711cfba79c90a (diff) |
Fix not to output all warnings (#2778)
Fix syntax error when --language-bindings is java
Replace __attribute__((__unused__)) with CVC4_UNUSED macro
Signed-off-by: matken11235 <26405363+matken11235@users.noreply.github.com>
Diffstat (limited to 'src/expr')
-rw-r--r-- | src/expr/datatype.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/datatype.h b/src/expr/datatype.h index 0e8ace709..b7a2721ab 100644 --- a/src/expr/datatype.h +++ b/src/expr/datatype.h @@ -1084,7 +1084,7 @@ class CVC4_PUBLIC DatatypeIndexConstant { public: DatatypeIndexConstant(unsigned index); - const unsigned getIndex() const { return d_index; } + unsigned getIndex() const { return d_index; } bool operator==(const DatatypeIndexConstant& uc) const { return d_index == uc.d_index; |