Skip to content

Commit 052027a

Browse files
committed
[alf] Fix GCC 9 warnings
1 parent 22730fa commit 052027a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AlfServer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class AlfServer
7070

7171
// custom comparator for the SerialId keys of the maps
7272
struct serialIdComparator {
73-
bool operator()(const roc::SerialId& a, const roc::SerialId& b) { return a.toString() < b.toString(); };
73+
bool operator()(const roc::SerialId& a, const roc::SerialId& b) const { return a.toString() < b.toString(); };
7474
};
7575

7676
/// serialId -> link -> vector of RPC servers

0 commit comments

Comments
 (0)