diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
| commit | 07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch) | |
| tree | 2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/NullWebSocketSessionMan.h | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/NullWebSocketSessionMan.h')
| -rw-r--r-- | src/NullWebSocketSessionMan.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/NullWebSocketSessionMan.h b/src/NullWebSocketSessionMan.h index 0e5e34d5..acef66d3 100644 --- a/src/NullWebSocketSessionMan.h +++ b/src/NullWebSocketSessionMan.h @@ -38,8 +38,7 @@ #include "common.h" #include <string> - -#include "SharedHandle.h" +#include <memory> // Empty implementation for build without WebSocket support. @@ -55,8 +54,8 @@ class WebSocketSessionMan { public: WebSocketSessionMan() {} ~WebSocketSessionMan() {} - void addSession(const SharedHandle<WebSocketSession>& wsSession) {} - void removeSession(const SharedHandle<WebSocketSession>& wsSession) {} + void addSession(const std::shared_ptr<WebSocketSession>& wsSession) {} + void removeSession(const std::shared_ptr<WebSocketSession>& wsSession) {} void addNotification(const std::string& method, const RequestGroup* group) {} }; |
