diff options
Diffstat (limited to 'src/WebSocketInteractionCommand.h')
| -rw-r--r-- | src/WebSocketInteractionCommand.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/WebSocketInteractionCommand.h b/src/WebSocketInteractionCommand.h index c27bf90e..4b1acf73 100644 --- a/src/WebSocketInteractionCommand.h +++ b/src/WebSocketInteractionCommand.h @@ -36,7 +36,8 @@ #define D_WEB_SOCKET_INTERACTION_COMMAND_H #include "Command.h" -#include "SharedHandle.h" + +#include <memory> namespace aria2 { @@ -50,14 +51,14 @@ class WebSocketSession; class WebSocketInteractionCommand : public Command { private: DownloadEngine* e_; - SharedHandle<SocketCore> socket_; + std::shared_ptr<SocketCore> socket_; bool writeCheck_; - SharedHandle<WebSocketSession> wsSession_; + std::shared_ptr<WebSocketSession> wsSession_; public: WebSocketInteractionCommand(cuid_t cuid, - const SharedHandle<WebSocketSession>& wsSession, + const std::shared_ptr<WebSocketSession>& wsSession, DownloadEngine* e, - const SharedHandle<SocketCore>& socket); + const std::shared_ptr<SocketCore>& socket); virtual ~WebSocketInteractionCommand(); |
