From 4c1cb16059e6e484581873dfb3103851183ccc72 Mon Sep 17 00:00:00 2001 From: "Christopher L. Conway" Date: Tue, 23 Feb 2010 17:15:44 +0000 Subject: Minor optimizations to parser (use const string& for ids, keep only one binding in symtab) --- src/expr/expr_manager.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/expr/expr_manager.h') 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: -- cgit v1.2.3