dune-common  2.5.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
unused.hh
Go to the documentation of this file.
1 // -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 // vi: set et ts=4 sw=2 sts=2:
3 #ifndef DUNE_COMMON_UNUSED_HH
4 #define DUNE_COMMON_UNUSED_HH
5 
11 #ifndef HAS_ATTRIBUTE_UNUSED
12 #define DUNE_UNUSED
13 #else
14 #define DUNE_UNUSED __attribute__((unused))
15 #endif
16 
18 #define DUNE_UNUSED_PARAMETER(parm) static_cast<void>(parm)
19 #endif