Jelajahi Sumber

compressed_pair: drop redundant inline

Michele Caini 1 tahun lalu
induk
melakukan
6304cf6f1e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/entt/core/compressed_pair.hpp

+ 1 - 1
src/entt/core/compressed_pair.hpp

@@ -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);
 }