diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2024-11-01 14:26:38 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2024-11-08 15:23:41 +0000 |
commit | 7e1d9f58858153bee4bcbab45aa862442859d958 (patch) | |
tree | b711a9b5e2995db9f743a100c1284ca1f5cff286 /libstdc++-v3 | |
parent | b66a57c0ad300b293ebd366bc29f44f2ddb65c69 (diff) | |
download | gcc-7e1d9f58858153bee4bcbab45aa862442859d958.zip gcc-7e1d9f58858153bee4bcbab45aa862442859d958.tar.gz gcc-7e1d9f58858153bee4bcbab45aa862442859d958.tar.bz2 |
libstdc++: Make some _Hashtable members inline
libstdc++-v3/ChangeLog:
* include/bits/hashtable.h (_Hashtable): Add 'inline' to some
one-line constructors.
Reviewed-by: François Dumont <fdumont@gcc.gnu.org>
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/include/bits/hashtable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libstdc++-v3/include/bits/hashtable.h b/libstdc++-v3/include/bits/hashtable.h index 6bcba2d..b36142b 100644 --- a/libstdc++-v3/include/bits/hashtable.h +++ b/libstdc++-v3/include/bits/hashtable.h @@ -1264,6 +1264,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typename _Hash, typename _RangeHash, typename _Unused, typename _RehashPolicy, typename _Traits> template<typename _InputIterator> + inline _Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>:: _Hashtable(_InputIterator __f, _InputIterator __l, @@ -1527,6 +1528,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typename _ExtractKey, typename _Equal, typename _Hash, typename _RangeHash, typename _Unused, typename _RehashPolicy, typename _Traits> + inline _Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>:: _Hashtable(const _Hashtable& __ht) @@ -1582,6 +1584,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION typename _ExtractKey, typename _Equal, typename _Hash, typename _RangeHash, typename _Unused, typename _RehashPolicy, typename _Traits> + inline _Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _Hash, _RangeHash, _Unused, _RehashPolicy, _Traits>:: _Hashtable(const _Hashtable& __ht, const allocator_type& __a) |