diff options
author | Morgan Deters <mdeters@gmail.com> | 2012-11-17 04:05:17 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2012-11-17 04:05:17 +0000 |
commit | 44498017455cce207bf9cb0a1ebbf67c4a4d77cf (patch) | |
tree | 18f0bf80ea93cfd1f0e49cf38b7f0baf2d457285 /src/theory/theory_engine.h | |
parent | db35c4be8bd37746e1c27e446291c82556df1d05 (diff) |
* Fix for bug 445 agreed to in meeting 11/13/2012: always dump in ALL_SUPPORTED logic
* Java bindings fixes: fixed access to ostreams, iterators
* Make SmtEngine::setUserAttribute() (and others) take a const string&
* Also a few compliance fixes
(this commit was certified error- and warning-free by the test-and-commit script.)
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r-- | src/theory/theory_engine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h index 67830390c..d6e984f8f 100644 --- a/src/theory/theory_engine.h +++ b/src/theory/theory_engine.h @@ -703,13 +703,13 @@ public: * This function is called when an attribute is set by a user. In SMT-LIBv2 this is done * via the syntax (! n :attr) */ - void setUserAttribute( std::string& attr, Node n ); + void setUserAttribute(const std::string& attr, Node n); /** Handle user attribute * Associates theory t with the attribute attr. Theory t will be * notifed whenever an attribute of name attr is set. */ - void handleUserAttribute( const char* attr, theory::Theory* t ); + void handleUserAttribute(const char* attr, theory::Theory* t); /** Check that the theory assertions are satisfied in the model * This function is called from the smt engine's checkModel routine |