summaryrefslogtreecommitdiff
path: root/src/expr
diff options
context:
space:
mode:
authorKen Matsui <26405363+matken11235@users.noreply.github.com>2019-09-12 08:48:18 +0900
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-09-11 18:48:18 -0500
commitdc3cee7cf3d49ad592139042a8e15e3905e55ee9 (patch)
tree4b2c73cbe54e1120443b8f2891d7cad19e059e64 /src/expr
parente173f47af5ab1c7245c11e0f8d0711cfba79c90a (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.h2
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;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback