Skip to content
Snippets Groups Projects
Commit f7abf971 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

natpmp: remove double definition

Change-Id: I10a87775db83890b1efc3a3e947893b7b9251284
parent d1e018ca
Branches
No related tags found
No related merge requests found
......@@ -149,13 +149,6 @@ private:
// Shutdown synchronization
bool shutdownComplete_ {false};
// Asio :(
// https://stackoverflow.com/questions/35507956/is-it-safe-to-destroy-boostasio-timer-from-its-handler-or-handler-dtor
std::weak_ptr<NatPmp> weak()
{
return std::static_pointer_cast<NatPmp>(shared_from_this());
}
};
} // namespace upnp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment