From: Morgan Deters Date: Mon, 9 Jun 2014 14:40:17 +0000 (-0400) Subject: Disallow copy/assignment of SmtEngine. X-Git-Tag: cvc5-1.0.0~6845 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=db51926b5ce806754fc26c81b1b7d3e739fc4fc5;p=cvc5.git Disallow copy/assignment of SmtEngine. --- diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h index 4b981f614..72237ff1c 100644 --- a/src/smt/smt_engine.h +++ b/src/smt/smt_engine.h @@ -361,6 +361,10 @@ class CVC4_PUBLIC SmtEngine { */ Model* getModel() throw(ModalException); + // disallow copy/assignment + SmtEngine(const SmtEngine&) CVC4_UNDEFINED; + SmtEngine& operator=(const SmtEngine&) CVC4_UNDEFINED; + public: /**