diff --git a/common/deprecated.hh b/common/deprecated.hh new file mode 100644 index 0000000000000000000000000000000000000000..d28f9f8e5d82d5eede984f366642309f30fda0a5 --- /dev/null +++ b/common/deprecated.hh @@ -0,0 +1,10 @@ +// -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- +// vi: set et ts=4 sw=2 sts=2: +#ifndef DUNE_DEPRECATED_HH +#define DUNE_DEPRECATED_HH + +#ifndef DUNE_DEPRECATED +#define DUNE_DEPRECATED +#endif + +#endif diff --git a/common/fixedarray.hh b/common/fixedarray.hh index a08bc3105821b4eee7018dfbc3406a9af134d328..093270aac791bb4ea5b1b4ec269c04a232866ab2 100644 --- a/common/fixedarray.hh +++ b/common/fixedarray.hh @@ -12,6 +12,8 @@ #include <iomanip> #include <string> +#include <dune/common/deprecated.hh> + // Include system implementation of array class if present #ifdef HAVE_ARRAY #include <array> diff --git a/common/typetraits.hh b/common/typetraits.hh index 91d92c3b27fba850fc5d67e2a7fd137fbadc02a0..33c40cebb51fe2a40c06794d35d69d04504a547c 100644 --- a/common/typetraits.hh +++ b/common/typetraits.hh @@ -3,6 +3,8 @@ #ifndef DUNE_TYPETRAITS_HH #define DUNE_TYPETRAITS_HH +#include <dune/common/deprecated.hh> + #ifdef HAVE_TR1_TYPE_TRAITS #include <tr1/type_traits> #endif