Sfoglia il codice sorgente

storage: NOLINT odissey :)

skypjack 4 mesi fa
parent
commit
e87a8e4b63
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/entt/entity/storage.hpp

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

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