2
0
mirror of https://github.com/boostorg/asio.git synced 2026-02-24 02:12:12 +00:00
Christopher Kohlhoff 290ccf5a73 Use declval in is_legacy_connect_condition check.
gcc 11.2 at -O3 rejects:

error: 'this' pointer is null [-Werror=nonnull]
   77 |         (*static_cast<legacy_connect_condition_helper<T, Iterator>*>(0))(
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
   78 |           *static_cast<const asio::error_code*>(0),
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   79 |           *static_cast<const Iterator*>(0)))) != 1;
      |           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-10-17 11:01:58 +11:00
2021-08-04 21:16:59 +10:00
2021-03-04 09:02:43 +11:00
2021-08-03 17:56:56 +10:00
2021-02-25 08:29:05 +11:00
2006-06-14 22:26:36 +00:00
2021-06-02 04:29:33 +03:00
Description
Mirrored via gitea-mirror
24 MiB
Languages
C++ 99.6%
HTML 0.2%
Perl 0.2%