summaryrefslogtreecommitdiff
path: root/src/context/context.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2014-06-16 16:43:56 -0400
committerlianah <lianahady@gmail.com>2014-06-19 18:24:38 -0400
commit00ae9a7eba6648f957011cc250ba8707cce029c3 (patch)
treeb127eb494d7cf70d2769b8f94781f8f464805561 /src/context/context.h
parentbb35ed4f871e4cb5d33c1030fc5547bb92ec334b (diff)
Disallow context-dependent copy/assignment.
Diffstat (limited to 'src/context/context.h')
-rw-r--r--src/context/context.h8
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 */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback