From 44325801ed4840cb1c334b9810f16ea8d691e986 Mon Sep 17 00:00:00 2001 From: Julian Büning Date: Wed, 9 Jan 2019 13:49:00 +0100 Subject: make AssignmentLessThan::operator() const-invocable --- lib/Solver/CexCachingSolver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Solver/CexCachingSolver.cpp b/lib/Solver/CexCachingSolver.cpp index f4ee009c..7c977a57 100644 --- a/lib/Solver/CexCachingSolver.cpp +++ b/lib/Solver/CexCachingSolver.cpp @@ -51,7 +51,7 @@ namespace { typedef std::set< ref > KeyType; struct AssignmentLessThan { - bool operator()(const Assignment *a, const Assignment *b) { + bool operator()(const Assignment *a, const Assignment *b) const { return a->bindings < b->bindings; } }; -- cgit 1.4.1