Use provided names for CountedObject instead of typeid()

This commit is contained in:
Vinnie Falco
2013-06-26 00:17:09 -07:00
parent 59b2824d46
commit fe15cfbf31
21 changed files with 47 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ class PeerImp : public Peer
, public CountedObject <PeerImp>
{
public:
char const* getCountedObjectName () { return "Peer"; }
PeerImp (boost::asio::io_service & io_service,
boost::asio::ssl::context & ctx,
uint64 peerId,