Jelajahi Sumber

doc: runtime_view

Michele Caini 3 tahun lalu
induk
melakukan
5afc5529c2
1 mengubah file dengan 4 tambahan dan 4 penghapusan
  1. 4 4
      src/entt/entity/runtime_view.hpp

+ 4 - 4
src/entt/entity/runtime_view.hpp

@@ -171,7 +171,7 @@ public:
           filter{allocator} {}
 
     /*! @brief Default copy constructor. */
-    basic_runtime_view(const basic_runtime_view &other) = default;
+    basic_runtime_view(const basic_runtime_view &) = default;
 
     /**
      * @brief Allocator-extended copy constructor.
@@ -183,7 +183,7 @@ public:
           filter{other.filter, allocator} {}
 
     /*! @brief Default move constructor. */
-    basic_runtime_view(basic_runtime_view &&other) noexcept(std::is_nothrow_move_constructible_v<container_type>) = default;
+    basic_runtime_view(basic_runtime_view &&) noexcept(std::is_nothrow_move_constructible_v<container_type>) = default;
 
     /**
      * @brief Allocator-extended move constructor.
@@ -198,13 +198,13 @@ public:
      * @brief Default copy assignment operator.
      * @return This container.
      */
-    basic_runtime_view &operator=(const basic_runtime_view &other) = default;
+    basic_runtime_view &operator=(const basic_runtime_view &) = default;
 
     /**
      * @brief Default move assignment operator.
      * @return This container.
      */
-    basic_runtime_view &operator=(basic_runtime_view &&other) noexcept(std::is_nothrow_move_assignable_v<container_type>) = default;
+    basic_runtime_view &operator=(basic_runtime_view &&) noexcept(std::is_nothrow_move_assignable_v<container_type>) = default;
 
     /**
      * @brief Exchanges the contents with those of a given view.