Skip to content
Snippets Groups Projects
Commit 11f441ce authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

[cleanup] deprecate intrange

It is possible to use Dune::IntegralRange instead.
parent b0149d6f
No related branches found
No related tags found
1 merge request!1704deprecate intrange
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
#ifndef DUMUX_INTEGER_RANGE_HH #ifndef DUMUX_INTEGER_RANGE_HH
#define DUMUX_INTEGER_RANGE_HH #define DUMUX_INTEGER_RANGE_HH
#warning "This header is deprecated. Use Dune::IntegralRange instead."
#include <cassert> #include <cassert>
namespace Dumux { namespace Dumux {
...@@ -35,7 +37,8 @@ namespace Dumux { ...@@ -35,7 +37,8 @@ namespace Dumux {
* for(auto i : IntRange(5, 8) { ... i = 5, 6, 7 } * for(auto i : IntRange(5, 8) { ... i = 5, 6, 7 }
* see: https://en.wikipedia.org/wiki/Generator_(computer_programming) * 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: public:
// constructors // constructors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment