diff options
author | 2018-07-02 19:30:18 +0100 | |
---|---|---|
committer | 2018-07-04 14:23:12 +0100 | |
commit | 93bd3619de4616040d672a4ed3825976bed4bfce (patch) | |
tree | 2ab3424374ed3d316053ed8e9ec2d4b95ea2ef4d /libartbase/base/iteration_range.h | |
parent | f07d5617770c37d87447c8bddf105eb0469ab093 (diff) |
Use iterators to access stack map data.
Try to simplify the code using the recently added iterators.
Test: test-art-host-gtest-stack_map_test
Change-Id: I0b9f54df01749ee6ec3a67cfb07ba636a2489c89
Diffstat (limited to 'libartbase/base/iteration_range.h')
-rw-r--r-- | libartbase/base/iteration_range.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libartbase/base/iteration_range.h b/libartbase/base/iteration_range.h index 76049a7e4d..cd87d85f68 100644 --- a/libartbase/base/iteration_range.h +++ b/libartbase/base/iteration_range.h @@ -39,9 +39,9 @@ class IterationRange { iterator cbegin() const { return first_; } iterator cend() const { return last_; } - private: - const iterator first_; - const iterator last_; + protected: + iterator first_; + iterator last_; }; template <typename Iter> |