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/context/cdlist_forward.h | |
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/context/cdlist_forward.h')
-rw-r--r-- | src/context/cdlist_forward.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context/cdlist_forward.h b/src/context/cdlist_forward.h index d7b1cbc61..1cdbab7cb 100644 --- a/src/context/cdlist_forward.h +++ b/src/context/cdlist_forward.h @@ -42,7 +42,7 @@ namespace context { template <class T> class DefaultCleanUp { public: - inline void operator()(T* t) const{} + inline void operator()(T* t CVC4_UNUSED) const{} }; template <class T, class CleanUp = DefaultCleanUp<T>, class Allocator = std::allocator<T> > |