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

+2 -2
View File
@@ -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;
}
}