aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredfish <redfish@galactica.pw>2016-06-21 19:36:26 -0400
committerredfish <redfish@galactica.pw>2016-06-22 09:05:53 -0400
commit72287d121a5efbb455566d56612daab571a0141b (patch)
tree7b7310d9336e8cbb5ab4754b6765de85770ba9fc
parentMerge pull request #870 (diff)
downloadmonero-72287d121a5efbb455566d56612daab571a0141b.tar.xz
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.h2
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();