mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix log setup inline function warning
This commit is contained in:
2
src/cpp/ripple/WSConnection.cpp
Normal file
2
src/cpp/ripple/WSConnection.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
SETUP_LOG (WSConnectionLog)
|
||||
@@ -5,22 +5,10 @@
|
||||
#include "../websocketpp/src/sockets/autotls.hpp"
|
||||
#include "../websocketpp/src/websocketpp.hpp"
|
||||
|
||||
#include <boost/weak_ptr.hpp>
|
||||
#include <boost/asio.hpp>
|
||||
#include <boost/enable_shared_from_this.hpp>
|
||||
#include <boost/pointer_cast.hpp>
|
||||
|
||||
#include "WSDoor.h"
|
||||
#include "CallRPC.h"
|
||||
#include "LoadManager.h"
|
||||
#include "RPCErr.h"
|
||||
|
||||
DEFINE_INSTANCE(WebSocketConnection);
|
||||
|
||||
// This is for logging
|
||||
struct WSConnectionLog { };
|
||||
|
||||
SETUP_LOG (WSConnectionLog)
|
||||
struct WSConnectionLog;
|
||||
|
||||
template <typename endpoint_type>
|
||||
class WSServerHandler;
|
||||
|
||||
2
src/cpp/ripple/WSHandler.cpp
Normal file
2
src/cpp/ripple/WSHandler.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
SETUP_LOG (WSServerHandlerLog)
|
||||
@@ -11,11 +11,7 @@ class WSConnection;
|
||||
|
||||
// CAUTION: on_* functions are called by the websocket code while holding a lock
|
||||
|
||||
struct WSServerHandlerLog // for logging
|
||||
{
|
||||
};
|
||||
|
||||
SETUP_LOG (WSServerHandlerLog)
|
||||
struct WSServerHandlerLog;
|
||||
|
||||
// A single instance of this object is made.
|
||||
// This instance dispatches all events. There is no per connection persistence.
|
||||
|
||||
Reference in New Issue
Block a user