Skip to content
Snippets Groups Projects
Commit 0a9e9fd9 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

peer connection: fix warning

Change-Id: I95918706f71d243fa9a233c76ab12030ecf0e87b
parent ef497b90
Branches
No related tags found
No related merge requests found
...@@ -142,7 +142,7 @@ public: ...@@ -142,7 +142,7 @@ public:
std::size_t write(const ValueType* buf, std::size_t len, std::error_code& ec) override; std::size_t write(const ValueType* buf, std::size_t len, std::error_code& ec) override;
void connect(const std::chrono::milliseconds& timeout = {}) override; void connect(const std::chrono::milliseconds& timeout = {}) override;
void setOnShutdown(onShutdownCb&& cb) { void setOnShutdown(onShutdownCb&& cb) override {
scb = cb; scb = cb;
} }
...@@ -176,7 +176,7 @@ public: ...@@ -176,7 +176,7 @@ public:
ice_->setOnRecv(compId_, cb); ice_->setOnRecv(compId_, cb);
} }
void setOnShutdown(onShutdownCb&& cb) { void setOnShutdown(onShutdownCb&& cb) override {
ice_->setOnShutdown(std::move(cb)); ice_->setOnShutdown(std::move(cb));
} }
private: private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment