Skip to content

Commit

Permalink
contrib: epee: add missing noexcept spec to class decl
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
radfish committed Jun 22, 2016
1 parent de91bb7 commit 72287d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/epee/include/net/abstract_tcp_server2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 72287d1

Please sign in to comment.