skypjack 2 месяцев назад
Родитель
Сommit
a5f5fdb001
1 измененных файлов с 2 добавлено и 0 удалено
  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();
     }