summaryrefslogtreecommitdiff
path: root/src/expr/expr_manager_template.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-10-24 02:44:35 +0000
committerMorgan Deters <mdeters@gmail.com>2010-10-24 02:44:35 +0000
commitd8a8f335f4043a0117f2b92af3d1e94f285e4d30 (patch)
tree93b52c3f70c6ccd0614aa00ae09054ae6ca625a9 /src/expr/expr_manager_template.h
parent237995ce0e7f47b826e26c0afb317cf5e3174879 (diff)
add a CVC4_UNDEFINED keyword, for intentionally undefined functions (like private copy constructors and assignment, for instance) that generates better, compile-time error messages if the function is used (before, you'd have to wait until link time); also some minor cleanup
Diffstat (limited to 'src/expr/expr_manager_template.h')
-rw-r--r--src/expr/expr_manager_template.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/expr_manager_template.h b/src/expr/expr_manager_template.h
index 7946a734e..457713597 100644
--- a/src/expr/expr_manager_template.h
+++ b/src/expr/expr_manager_template.h
@@ -75,7 +75,7 @@ private:
friend class ExprManagerScope;
// undefined, private copy constructor (disallow copy)
- ExprManager(const ExprManager&);
+ ExprManager(const ExprManager&) CVC4_UNDEFINED;
public:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback