Skip to content
Snippets Groups Projects
Commit 2dcd75e5 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Adjust private varaible name to style guide

Our style guide suggests to use names ending
with an underscore for private members.
parent 21d79b95
No related branches found
No related tags found
1 merge request!1515Add sentinel support to IteratorRange
Pipeline #77186 waiting for manual action
Pipeline: Dune Nightly Test

#77256

    ......@@ -41,8 +41,8 @@ namespace Dune {
    //! Constructs an iterator range on [begin,end).
    IteratorRange(const Iterator& begin, const Sentinel& end)
    : _begin(begin)
    , _end(end)
    : begin_(begin)
    , end_(end)
    {}
    //! Default constructor, relies on iterators being default-constructible.
    ......@@ -52,19 +52,19 @@ namespace Dune {
    //! Returns an iterator pointing to the begin of the range.
    iterator begin() const
    {
    return _begin;
    return begin_;
    }
    //! Returns an iterator pointing past the end of the range.
    sentinel end() const
    {
    return _end;
    return end_;
    }
    private:
    Iterator _begin;
    Sentinel _end;
    Iterator begin_;
    Sentinel end_;
    };
    ......
    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