Procházet zdrojové kódy

storage: NOLINT odissey :)

skypjack před 4 měsíci
rodič
revize
e87a8e4b63
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      src/entt/entity/storage.hpp

+ 2 - 0
src/entt/entity/storage.hpp

@@ -1060,6 +1060,7 @@ public:
      * @brief Move constructor.
      * @brief Move constructor.
      * @param other The instance to move from.
      * @param other The instance to move from.
      */
      */
+    // NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved)
     basic_storage(basic_storage &&other) noexcept
     basic_storage(basic_storage &&other) noexcept
         : base_type{static_cast<base_type &&>(other)},
         : base_type{static_cast<base_type &&>(other)},
           placeholder{other.placeholder} {}
           placeholder{other.placeholder} {}
@@ -1069,6 +1070,7 @@ public:
      * @param other The instance to move from.
      * @param other The instance to move from.
      * @param allocator The allocator to use.
      * @param allocator The allocator to use.
      */
      */
+    // NOLINTNEXTLINE(cppcoreguidelines-rvalue-reference-param-not-moved)
     basic_storage(basic_storage &&other, const allocator_type &allocator)
     basic_storage(basic_storage &&other, const allocator_type &allocator)
         : base_type{static_cast<base_type &&>(other), allocator},
         : base_type{static_cast<base_type &&>(other), allocator},
           placeholder{other.placeholder} {}
           placeholder{other.placeholder} {}