From d6e86ebcc9a4c909e21fe9c2a567887e0a4e71a8 Mon Sep 17 00:00:00 2001 From: Guillaume Roguez <yomgui1@users.noreply.github.com> Date: Tue, 6 Dec 2016 18:28:14 -0500 Subject: [PATCH] remove InfoHash::toCString() Implementation of InfoHash::toCString() is broken --- include/opendht/infohash.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/opendht/infohash.h b/include/opendht/infohash.h index a8f6353a..33c96c84 100644 --- a/include/opendht/infohash.h +++ b/include/opendht/infohash.h @@ -199,10 +199,6 @@ public: std::string toString() const; - const char* toCString() const { - return toString().c_str(); - } - template <typename Packer> void msgpack_pack(Packer& pk) const { -- GitLab