diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:39:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:40:08 +0900 |
| commit | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch) | |
| tree | 9ce465b42bf09372118335c7c619bb2b41869eaf /src/WebSocketInteractionCommand.h | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/WebSocketInteractionCommand.h')
| -rw-r--r-- | src/WebSocketInteractionCommand.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/WebSocketInteractionCommand.h b/src/WebSocketInteractionCommand.h index 5db4acde..7257b82b 100644 --- a/src/WebSocketInteractionCommand.h +++ b/src/WebSocketInteractionCommand.h @@ -54,20 +54,17 @@ private: std::shared_ptr<SocketCore> socket_; bool writeCheck_; std::shared_ptr<WebSocketSession> wsSession_; + public: - WebSocketInteractionCommand(cuid_t cuid, - const std::shared_ptr<WebSocketSession>& wsSession, - DownloadEngine* e, - const std::shared_ptr<SocketCore>& socket); + WebSocketInteractionCommand( + cuid_t cuid, const std::shared_ptr<WebSocketSession>& wsSession, + DownloadEngine* e, const std::shared_ptr<SocketCore>& socket); virtual ~WebSocketInteractionCommand(); virtual bool execute() CXX11_OVERRIDE; - std::shared_ptr<WebSocketSession>& getSession() - { - return wsSession_; - } + std::shared_ptr<WebSocketSession>& getSession() { return wsSession_; } void updateWriteCheck(); }; |
