diff options
| author | redfish <redfish@galactica.pw> | 2016-06-21 19:36:26 -0400 |
|---|---|---|
| committer | redfish <redfish@galactica.pw> | 2016-06-22 09:05:53 -0400 |
| commit | 72287d121a5efbb455566d56612daab571a0141b (patch) | |
| tree | 7b7310d9336e8cbb5ab4754b6765de85770ba9fc | |
| parent | de91bb75a1669dc1d5baf5a48379cf1d63707c76 (diff) | |
| download | monzero-core-72287d121a5efbb455566d56612daab571a0141b.tar.gz monzero-core-72287d121a5efbb455566d56612daab571a0141b.tar.xz monzero-core-72287d121a5efbb455566d56612daab571a0141b.zip | |
contrib: epee: add missing noexcept spec to class decl
The noexcept specs were added to make GCC 6.1.1 happy (#846), but this
one was missing (because GCC did not complain about it on Linux, but
does complain on OSX).
| -rw-r--r-- | contrib/epee/include/net/abstract_tcp_server2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/net/abstract_tcp_server2.h b/contrib/epee/include/net/abstract_tcp_server2.h index 80f3f6db0..cb387d39f 100644 --- a/contrib/epee/include/net/abstract_tcp_server2.h +++ b/contrib/epee/include/net/abstract_tcp_server2.h @@ -95,7 +95,7 @@ namespace net_utils i_connection_filter * &pfilter ,t_connection_type connection_type); - virtual ~connection(); + virtual ~connection() noexcept(false); /// Get the socket associated with the connection. boost::asio::ip::tcp::socket& socket(); |
