summaryrefslogtreecommitdiff
path: root/src/base/exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/exception.h')
-rw-r--r--src/base/exception.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/base/exception.h b/src/base/exception.h
index 51829c86c..704ca928e 100644
--- a/src/base/exception.h
+++ b/src/base/exception.h
@@ -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("", "", ""); \
} \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback