mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
fix clang-tidy warnings
This commit is contained in:
1 parent
4401e47002
commit
5e92777702
5 files changed
+9
-10
No files matched your search
+2
-2
@@ -65,8 +65,8 @@ std::ostream& operator<< (std::ostream& s, const Value& v)
|
||||
} else {
|
||||
s << "Data (type: " << v.type << " ): ";
|
||||
s << std::hex;
|
||||
for (size_t i=0; i<v.data.size(); i++)
|
||||
s << std::setfill('0') << std::setw(2) << (unsigned)v.data[i];
|
||||
for (auto i : v.data)
|
||||
s << std::setfill('0') << std::setw(2) << (unsigned)i;
|
||||
s << std::dec;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user