From 72287d121a5efbb455566d56612daab571a0141b Mon Sep 17 00:00:00 2001 From: redfish Date: Tue, 21 Jun 2016 19:36:26 -0400 Subject: [PATCH] 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). --- contrib/epee/include/net/abstract_tcp_server2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();