diff options
| author | Martin Nowack <m.nowack@imperial.ac.uk> | 2019-12-12 15:22:08 +0000 |
|---|---|---|
| committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2020-02-13 18:13:00 +0000 |
| commit | 96a1dc82d0a96720cd48e0c8a286f14881098f99 (patch) | |
| tree | 3e461d482c89a7ead290279d6f74bf0e5b056cd6 | |
| parent | 0e34aab465c361b4dd3b7f1d5ff40b312922f921 (diff) | |
| download | klee-96a1dc82d0a96720cd48e0c8a286f14881098f99.tar.gz | |
Use call-by-reference for hash-function invocation
| -rw-r--r-- | include/klee/Expr/ExprHashMap.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/klee/Expr/ExprHashMap.h b/include/klee/Expr/ExprHashMap.h index 0143668d..562935a9 100644 --- a/include/klee/Expr/ExprHashMap.h +++ b/include/klee/Expr/ExprHashMap.h @@ -19,9 +19,7 @@ namespace klee { namespace util { struct ExprHash { - unsigned operator()(const ref<Expr> e) const { - return e->hash(); - } + unsigned operator()(const ref<Expr> &e) const { return e->hash(); } }; struct ExprCmp { |
