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/context.h | |
parent | bb35ed4f871e4cb5d33c1030fc5547bb92ec334b (diff) |
Disallow context-dependent copy/assignment.
Diffstat (limited to 'src/context/context.h')
-rw-r--r-- | src/context/context.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/context/context.h b/src/context/context.h index 2b907ca2a..0285d47a8 100644 --- a/src/context/context.h +++ b/src/context/context.h @@ -94,8 +94,8 @@ class Context { operator<<(std::ostream&, const Context&) throw(AssertionException); // disable copy, assignment - Context(const Context&) CVC4_UNUSED; - Context& operator=(const Context&) CVC4_UNUSED; + Context(const Context&) CVC4_UNDEFINED; + Context& operator=(const Context&) CVC4_UNDEFINED; public: @@ -208,8 +208,8 @@ public: class UserContext : public Context { private: // disable copy, assignment - UserContext(const UserContext&) CVC4_UNUSED; - UserContext& operator=(const UserContext&) CVC4_UNUSED; + UserContext(const UserContext&) CVC4_UNDEFINED; + UserContext& operator=(const UserContext&) CVC4_UNDEFINED; public: UserContext() {} };/* class UserContext */ |