Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9bd8df8 authored by Luca Stefani's avatar Luca Stefani
Browse files

libbacktrace: Fix clang-tidy warning

* warning: overloaded 'operator{++,--}' returns a reference instead of a constant object type [cert-dcl21-cpp]

Change-Id: I8a904622b30dc70d17483b87748c2ea541e50c46
parent 983f76b3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ public:
      index_++;
      return *this;
    }
    iterator& operator++(int increment) {
    const iterator operator++(int increment) {
      index_ += increment;
      return *this;
    }
@@ -87,7 +87,7 @@ public:
      index_--;
      return *this;
    }
    iterator& operator--(int decrement) {
    const iterator operator--(int decrement) {
      index_ -= decrement;
      return *this;
    }