< prev index next >
src/hotspot/share/gc/z/zList.hpp
Print this page
rev 57095 : [mq]: use
rev 57096 : [mq]: trailing_semi
@@ -23,10 +23,11 @@
#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,13 +54,11 @@
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);
+ NONCOPYABLE(ZList);
void verify() const;
void insert(ZListNode<T>* before, ZListNode<T>* node);
< prev index next >