public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-9780] libstdc++: Add missing 'inline' specifiers to net::ip functions [PR 100259]
@ 2021-04-29 11:13 Jonathan Wakely
0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-04-29 11:13 UTC (permalink / raw)
To: gcc-cvs, libstdc++-cvs
https://gcc.gnu.org/g:9b6fecd9e594c7342141c334644d3938c8e5fcdb
commit r10-9780-g9b6fecd9e594c7342141c334644d3938c8e5fcdb
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon Apr 26 11:37:38 2021 +0100
libstdc++: Add missing 'inline' specifiers to net::ip functions [PR 100259]
libstdc++-v3/ChangeLog:
PR libstdc++/100259
* include/experimental/internet (net::ip::make_error_code)
(net::ip::make_error_condition, net::ip::make_network_v4)
(net::ip::operator==(const udp&, const udp&)): Add 'inline'.
(cherry picked from commit 3f4aa4579a6c03e0a0b0a6aec68aa5a301264d45)
Diff:
---
libstdc++-v3/include/experimental/internet | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libstdc++-v3/include/experimental/internet b/libstdc++-v3/include/experimental/internet
index 697e724a9d1..de9da930274 100644
--- a/libstdc++-v3/include/experimental/internet
+++ b/libstdc++-v3/include/experimental/internet
@@ -101,10 +101,10 @@ namespace ip
return __c;
}
- error_code make_error_code(resolver_errc __e) noexcept
+ inline error_code make_error_code(resolver_errc __e) noexcept
{ return error_code(static_cast<int>(__e), resolver_category()); }
- error_condition make_error_condition(resolver_errc __e) noexcept
+ inline error_condition make_error_condition(resolver_errc __e) noexcept
{ return error_condition(static_cast<int>(__e), resolver_category()); }
/// @}
@@ -1334,7 +1334,7 @@ namespace ip
make_network_v4(const address_v4& __a, int __prefix_len)
{ return network_v4{__a, __prefix_len}; }
- network_v4
+ inline network_v4
make_network_v4(const address_v4& __a, const address_v4& __mask)
{ return network_v4{ __a, __mask }; }
@@ -2157,7 +2157,7 @@ namespace ip
* @{
*/
- bool
+ inline bool
operator==(const udp& __a, const udp& __b)
{ return __a.family() == __b.family(); }
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-04-29 11:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29 11:13 [gcc r10-9780] libstdc++: Add missing 'inline' specifiers to net::ip functions [PR 100259] Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).