summaryrefslogtreecommitdiff
path: root/src/theory/output_channel.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/theory/output_channel.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/theory/output_channel.h')
-rw-r--r--src/theory/output_channel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/output_channel.h b/src/theory/output_channel.h
index cc51c7a7c..1c48c0160 100644
--- a/src/theory/output_channel.h
+++ b/src/theory/output_channel.h
@@ -32,10 +32,10 @@ namespace theory {
*/
class OutputChannel {
/** Disallow copying: private constructor */
- OutputChannel(const OutputChannel&);
+ OutputChannel(const OutputChannel&) CVC4_UNDEFINED;
/** Disallow assignment: private operator=() */
- OutputChannel& operator=(const OutputChannel&);
+ OutputChannel& operator=(const OutputChannel&) CVC4_UNDEFINED;
public:
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback