diff --git a/dune/common/misc.hh b/dune/common/misc.hh index 0d58b18ce00266cd263fbecfd9ab0aa167271c25..d8fd2482342ba16ac86c8f09409163e52859739d 100644 --- a/dune/common/misc.hh +++ b/dune/common/misc.hh @@ -67,7 +67,7 @@ namespace Dune { //! Calculates m^p at compile time template <int m, int p> - struct Power_m_p + struct DUNE_DEPRECATED_MSG ("Use class StaticPower from file power.hh instead")Power_m_p { // power stores m^p enum { power = (m * Power_m_p<m,p-1>::power ) }; @@ -75,7 +75,7 @@ namespace Dune { //! end of recursion via specialization template <int m> - struct Power_m_p< m , 0> + struct DUNE_DEPRECATED_MSG ("Use class StaticPower from file power.hh instead")Power_m_p< m , 0> { // m^0 = 1 enum { power = 1 };