< prev index next >

src/hotspot/share/gc/z/zList.hpp

Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi

*** 23,32 **** --- 23,33 ---- #ifndef SHARE_GC_Z_ZLIST_HPP #define SHARE_GC_Z_ZLIST_HPP #include "memory/allocation.hpp" + #include "utilities/macros.hpp" template <typename T> class ZList; // Element in a doubly linked list template <typename T>
*** 53,65 **** class ZList { private: ZListNode<T> _head; size_t _size; ! // Passing by value and assignment is not allowed ! ZList(const ZList<T>& list); ! ZList<T>& operator=(const ZList<T>& list); void verify() const; void insert(ZListNode<T>* before, ZListNode<T>* node); --- 54,64 ---- class ZList { private: ZListNode<T> _head; size_t _size; ! NONCOPYABLE(ZList); void verify() const; void insert(ZListNode<T>* before, ZListNode<T>* node);
< prev index next >