diff options
Diffstat (limited to 'src/base/exception.h')
-rw-r--r-- | src/base/exception.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/base/exception.h b/src/base/exception.h index c3c785fc1..704ca928e 100644 --- a/src/base/exception.h +++ b/src/base/exception.h @@ -16,8 +16,8 @@ #include "cvc4_public.h" -#ifndef __CVC4__EXCEPTION_H -#define __CVC4__EXCEPTION_H +#ifndef CVC4__EXCEPTION_H +#define CVC4__EXCEPTION_H #include <cstdarg> #include <cstdlib> @@ -125,15 +125,15 @@ inline std::ostream& operator<<(std::ostream& os, const Exception& e) template <class T> inline void CheckArgument(bool cond, const T& arg, const char* tail) CVC4_PUBLIC; -template <class T> inline void CheckArgument(bool cond, const T& arg, - const char* tail) { +template <class T> inline void CheckArgument(bool cond, const T& arg CVC4_UNUSED, + const char* tail CVC4_UNUSED) { if(__builtin_expect( ( !cond ), false )) { \ throw ::CVC4::IllegalArgumentException("", "", ""); \ } \ } template <class T> inline void CheckArgument(bool cond, const T& arg) CVC4_PUBLIC; -template <class T> inline void CheckArgument(bool cond, const T& arg) { +template <class T> inline void CheckArgument(bool cond, const T& arg CVC4_UNUSED) { if(__builtin_expect( ( !cond ), false )) { \ throw ::CVC4::IllegalArgumentException("", "", ""); \ } \ @@ -166,4 +166,4 @@ private: }/* CVC4 namespace */ -#endif /* __CVC4__EXCEPTION_H */ +#endif /* CVC4__EXCEPTION_H */ |