infohash: make toHex inline

This commit is contained in:
Adrien Béraud committed 2020-11-17 11:34:40 -05:00
1 parent 0d31139402
commit 0c11c25c66
1 file changed
+1 -1
+1 -1
View File
@@ -354,7 +354,7 @@ private:
OPENDHT_PUBLIC extern const HexMap hex_map;
std::string
inline std::string
toHex(const uint8_t* data, size_t size) {
std::string ret('\0', size * 2);
for (size_t i=0; i<size; i++) {