diff options
author | Morgan Deters <mdeters@gmail.com> | 2010-10-24 02:44:35 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2010-10-24 02:44:35 +0000 |
commit | d8a8f335f4043a0117f2b92af3d1e94f285e4d30 (patch) | |
tree | 93b52c3f70c6ccd0614aa00ae09054ae6ca625a9 /src/expr/expr_manager_template.h | |
parent | 237995ce0e7f47b826e26c0afb317cf5e3174879 (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.h | 2 |
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: |