Commit c3b7b23e authored by neverlord's avatar neverlord

inlined bind_failure::error_code

parent f1167ce5
......@@ -55,7 +55,7 @@ class bind_failure : public network_exception
bind_failure(int bind_errno);
int error_code() const throw();
inline int error_code() const throw();
};
......@@ -64,6 +64,11 @@ inline std::uint32_t actor_exited::reason() const throw()
return m_reason;
}
inline int bind_failure::error_code() const throw()
{
return m_errno;
}
} // namespace cppa
#endif // EXCEPTION_HPP
......@@ -71,9 +71,4 @@ bind_failure::bind_failure(int err_code) : network_exception(be_what(err_code))
m_errno = err_code;
}
int bind_failure::error_code() const throw()
{
return m_errno;
}
} // namespace cppa
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