Use manual method for naming CountedObject classes

This commit is contained in:
Vinnie Falco
2013-06-26 01:10:54 -07:00
parent aa92b9cffe
commit 1dffaf5d57
21 changed files with 23 additions and 35 deletions

View File

@@ -24,7 +24,7 @@ class WSConnection
, public CountedObject <WSConnection <endpoint_type> >
{
public:
char const* getCountedObjectName () { return "WSConnection"; }
static char const* getCountedObjectName () { return "WSConnection"; }
typedef typename endpoint_type::connection_type connection;
typedef typename boost::shared_ptr<connection> connection_ptr;