fix(library/max_sharing): take binder annotations into account

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-06-28 08:31:09 -07:00
parent 47ff300d1a
commit 58b6169e8b

View file

@ -17,7 +17,7 @@ namespace lean {
shared sub-expressions. shared sub-expressions.
*/ */
struct max_sharing_fn::imp { struct max_sharing_fn::imp {
typedef typename std::unordered_set<expr, expr_hash, std::equal_to<expr>> expr_cache; typedef typename std::unordered_set<expr, expr_hash, is_bi_equal_proc> expr_cache;
expr_cache m_cache; expr_cache m_cache;