From 80df934955720d2b5102bed93b4612d288038113 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 15 Sep 2019 11:26:48 +0900 Subject: Fix compiler warning --- src/SessionSerializer.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/SessionSerializer.cc') diff --git a/src/SessionSerializer.cc b/src/SessionSerializer.cc index 86c815d8..363cb6ff 100644 --- a/src/SessionSerializer.cc +++ b/src/SessionSerializer.cc @@ -143,7 +143,10 @@ namespace { template class Unique { typedef T type; struct PointerCmp { - inline bool operator()(const type* x, const type* y) { return *x < *y; } + inline bool operator()(const type* x, const type* y) const + { + return *x < *y; + } }; std::set known; -- cgit