summaryrefslogtreecommitdiff
path: root/src/theory
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory')
-rw-r--r--src/theory/rewriter.h4
-rw-r--r--src/theory/theory.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/theory/rewriter.h b/src/theory/rewriter.h
index eda5dcf26..cc948ae7c 100644
--- a/src/theory/rewriter.h
+++ b/src/theory/rewriter.h
@@ -72,8 +72,8 @@ class Rewriter {
TNode node, TNode cache);
// disable construction of rewriters; all functionality is static
- Rewriter() CVC4_UNDEFINED;
- Rewriter(const Rewriter&) CVC4_UNDEFINED;
+ Rewriter() = delete;
+ Rewriter(const Rewriter&) = delete;
/**
* Rewrites the node using the given theory rewriter.
diff --git a/src/theory/theory.h b/src/theory/theory.h
index 2c3c727cb..5d176a36b 100644
--- a/src/theory/theory.h
+++ b/src/theory/theory.h
@@ -83,9 +83,9 @@ private:
friend class ::CVC4::TheoryEngine;
// Disallow default construction, copy, assignment.
- Theory() CVC4_UNDEFINED;
- Theory(const Theory&) CVC4_UNDEFINED;
- Theory& operator=(const Theory&) CVC4_UNDEFINED;
+ Theory() = delete;
+ Theory(const Theory&) = delete;
+ Theory& operator=(const Theory&) = delete;
/** An integer identifying the type of the theory. */
TheoryId d_id;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback