diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2014-06-16 16:43:56 -0400 |
---|---|---|
committer | lianah <lianahady@gmail.com> | 2014-06-19 18:24:38 -0400 |
commit | 00ae9a7eba6648f957011cc250ba8707cce029c3 (patch) | |
tree | b127eb494d7cf70d2769b8f94781f8f464805561 /src/context/cdlist.h | |
parent | bb35ed4f871e4cb5d33c1030fc5547bb92ec334b (diff) |
Disallow context-dependent copy/assignment.
Diffstat (limited to 'src/context/cdlist.h')
-rw-r--r-- | src/context/cdlist.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/context/cdlist.h b/src/context/cdlist.h index c57a315f5..51f1dbfa7 100644 --- a/src/context/cdlist.h +++ b/src/context/cdlist.h @@ -103,7 +103,7 @@ protected: * d_sizeAlloc are not copied: only the base class information and * d_size are needed in restore. */ - CDList(const CDList<T, CleanUp, Allocator>& l) : + CDList(const CDList& l) : ContextObj(l), d_list(NULL), d_size(l.d_size), @@ -115,6 +115,7 @@ protected: << " from " << &l << " size " << d_size << std::endl; } + CDList& operator=(const CDList& l) CVC4_UNDEFINED; private: /** |