diff --git a/include/opendht/infohash.h b/include/opendht/infohash.h index 0242747b..2a537ae9 100644 --- a/include/opendht/infohash.h +++ b/include/opendht/infohash.h @@ -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