mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 18:34:09 +00:00
Make ilist noncopyable too.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53190 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f178700829
commit
9ff0f0ea39
@ -256,6 +256,12 @@ class iplist : public Traits {
|
|||||||
|
|
||||||
static bool op_less(NodeTy &L, NodeTy &R) { return L < R; }
|
static bool op_less(NodeTy &L, NodeTy &R) { return L < R; }
|
||||||
static bool op_equal(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:
|
public:
|
||||||
typedef NodeTy *pointer;
|
typedef NodeTy *pointer;
|
||||||
typedef const NodeTy *const_pointer;
|
typedef const NodeTy *const_pointer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user