compressed_pair: drop redundant inline

This commit is contained in:
Michele Caini
2025-01-21 10:50:15 +01:00
parent 8ec65feddd
commit 6304cf6f1e

View File

@@ -240,7 +240,7 @@ compressed_pair(Type &&, Other &&) -> compressed_pair<std::decay_t<Type>, std::d
* @param rhs A valid compressed pair object.
*/
template<typename First, typename Second>
inline constexpr void swap(compressed_pair<First, Second> &lhs, compressed_pair<First, Second> &rhs) {
constexpr void swap(compressed_pair<First, Second> &lhs, compressed_pair<First, Second> &rhs) {
lhs.swap(rhs);
}