Make ilist noncopyable too.

llvm-svn: 53190
This commit is contained in:
Dan Gohman 2008-07-07 18:43:32 +00:00
parent 125919217a
commit 93e6fc4873
1 changed files with 6 additions and 0 deletions

View File

@ -256,6 +256,12 @@ class iplist : public Traits {
static bool op_less(NodeTy &L, NodeTy &R) { return L < R; }
static bool op_equal(NodeTy &L, NodeTy &R) { return L == R; }
// No fundamental reason why iplist can't by copyable, but the default
// copy/copy-assign won't do.
iplist(const iplist &); // do not implement
void operator=(const iplist &); // do not implement
public:
typedef NodeTy *pointer;
typedef const NodeTy *const_pointer;