mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-29 23:45:51 +00:00
Replace InstanceCounter with CountedObject
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
#include "../websocketpp/src/sockets/autotls.hpp"
|
||||
#include "../websocketpp/src/websocketpp.hpp"
|
||||
|
||||
DEFINE_INSTANCE (WebSocketConnection);
|
||||
|
||||
// This is for logging
|
||||
struct WSConnectionLog;
|
||||
|
||||
@@ -23,8 +21,10 @@ class WSServerHandler;
|
||||
// - Subscriptions
|
||||
//
|
||||
template <typename endpoint_type>
|
||||
class WSConnection : public InfoSub, public IS_INSTANCE (WebSocketConnection),
|
||||
public boost::enable_shared_from_this< WSConnection<endpoint_type> >
|
||||
class WSConnection
|
||||
: public InfoSub
|
||||
, public boost::enable_shared_from_this< WSConnection<endpoint_type> >
|
||||
, public CountedObject <WSConnection <endpoint_type> >
|
||||
{
|
||||
public:
|
||||
typedef typename endpoint_type::connection_type connection;
|
||||
|
||||
Reference in New Issue
Block a user