Explorar o código

dense_set: linter stuff

skypjack hai 2 meses
pai
achega
a5f5fdb001
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/entt/container/dense_set.hpp

+ 2 - 0
src/entt/container/dense_set.hpp

@@ -418,6 +418,7 @@ public:
      * internal array.
      */
     [[nodiscard]] const_iterator cend() const noexcept {
+        // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic) - waiting for C++20 (and stl::span)
         return packed.first().data() + packed.first().size();
     }
 
@@ -428,6 +429,7 @@ public:
 
     /*! @copydoc end */
     [[nodiscard]] iterator end() noexcept {
+        // NOLINTNEXTLINE(cppcoreguidelines-pro-bounds-pointer-arithmetic) - waiting for C++20 (and stl::span)
         return packed.first().data() + packed.first().size();
     }