diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-02-23 17:15:44 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-02-23 17:15:44 +0000 |
commit | 4c1cb16059e6e484581873dfb3103851183ccc72 (patch) | |
tree | 692ccbf8b07aef6ca8b8adc96a5de50cc408d0b1 /src/expr/expr_manager.h | |
parent | 7115bef6bc8aac38b5e718db8fcb39c26ef4954a (diff) |
Minor optimizations to parser (use const string& for ids, keep only one binding in symtab)
Diffstat (limited to 'src/expr/expr_manager.h')
-rw-r--r-- | src/expr/expr_manager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/expr_manager.h b/src/expr/expr_manager.h index 4b00c27fc..319a5d318 100644 --- a/src/expr/expr_manager.h +++ b/src/expr/expr_manager.h @@ -100,10 +100,10 @@ public: const Type* range); /** Make a new sort with the given name. */ - const Type* mkSort(std::string name); + const Type* mkSort(const std::string& name); // variables are special, because duplicates are permitted - Expr mkVar(const Type* type, std::string name); + Expr mkVar(const Type* type, const std::string& name); Expr mkVar(const Type* type); private: |