changeset 54834 | 39ba09047e19 |
parent 50525 | 767cdb97f103 |
child 58708 | f74ec3cbfcc0 |
--- a/src/hotspot/share/gc/z/zList.inline.hpp Tue May 14 09:12:06 2019 +0200 +++ b/src/hotspot/share/gc/z/zList.inline.hpp Tue May 14 09:55:02 2019 +0200 @@ -27,7 +27,7 @@ #include "gc/z/zList.hpp" template <typename T, bool forward> -ZListIteratorImpl<T, forward>::ZListIteratorImpl(ZList<T>* list) : +ZListIteratorImpl<T, forward>::ZListIteratorImpl(const ZList<T>* list) : _list(list), _next(forward ? list->first() : list->last()) {}