diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2019-09-15 11:26:48 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2019-09-15 11:26:48 +0900 |
| commit | 80df934955720d2b5102bed93b4612d288038113 (patch) | |
| tree | f5161b03248d2f4befb9c1b20e6495e59064b8eb /src/SessionSerializer.cc | |
| parent | 9f5758570a51feca6a468aea6a29377566addd87 (diff) | |
Fix compiler warning
Diffstat (limited to 'src/SessionSerializer.cc')
| -rw-r--r-- | src/SessionSerializer.cc | 5 |
1 files changed, 4 insertions, 1 deletions
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 <typename T> 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<const type*, PointerCmp> known; |
