Commit e3ac52c8 authored by Dominik Charousset's avatar Dominik Charousset

removed dead code

parent b9a8771e
......@@ -115,16 +115,6 @@ inline void send2po(const po_message& msg, Args&&... args) {
send2po_(nm, std::forward<Args>(args)...);
}
template<class Fun>
struct scope_guard {
Fun m_fun;
scope_guard(Fun&& fun) : m_fun(fun) { }
~scope_guard() { m_fun(); }
};
template<class Fun>
scope_guard<Fun> make_scope_guard(Fun fun) { return {std::move(fun)}; }
class po_socket_handler {
public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment