From 11f441ce89017ffc008f9f656bb7c7d2b3dff626 Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Thu, 29 Aug 2019 15:02:35 +0200
Subject: [PATCH] [cleanup] deprecate intrange

It is possible to use Dune::IntegralRange instead.
---
 dumux/common/intrange.hh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dumux/common/intrange.hh b/dumux/common/intrange.hh
index caa76c6654..7c403e0234 100644
--- a/dumux/common/intrange.hh
+++ b/dumux/common/intrange.hh
@@ -24,6 +24,8 @@
 #ifndef DUMUX_INTEGER_RANGE_HH
 #define DUMUX_INTEGER_RANGE_HH
 
+#warning "This header is deprecated. Use Dune::IntegralRange instead."
+
 #include <cassert>
 
 namespace Dumux {
@@ -35,7 +37,8 @@ namespace Dumux {
  *        for(auto i : IntRange(5, 8) { ... i = 5, 6, 7 }
  *        see: https://en.wikipedia.org/wiki/Generator_(computer_programming)
  */
-class IntRange
+class [[deprecated("Use Dune::IntegralRange instead. Will be removed after 3.1!")]]
+IntRange
 {
 public:
     // constructors
-- 
GitLab