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("", "", ""); \
} \
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> >
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;