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/context | |
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/context')
-rw-r--r-- | src/context/cdlist_context_memory.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/context/cdlist_context_memory.h b/src/context/cdlist_context_memory.h index f85d3b79e..20d672d31 100644 --- a/src/context/cdlist_context_memory.h +++ b/src/context/cdlist_context_memory.h @@ -157,7 +157,7 @@ protected: /** * Private copy constructor undefined (no copy permitted). */ - CDList(const CDList<T, Allocator>& l); + CDList(const CDList<T, Allocator>& l) CVC4_UNDEFINED; /** * Allocate the first list segment. |