fix clang-tidy warnings

This commit is contained in:
Adrien Béraud committed 2019-03-17 19:22:28 -04:00
1 parent 4401e47002
commit 5e92777702
5 files changed
+9 -10

No files matched your search

+1 -1
View File
@@ -92,7 +92,7 @@ RoutingTable::middle(const RoutingTable::const_iterator& it) const
throw std::out_of_range("End of table");
InfoHash id = it->first;
id.setBit(bit, 1);
id.setBit(bit, true);
return id;
}