diff --git a/src/Collections/List.hpp b/src/Collections/List.hpp index fba4d5c..ae73a91 100644 --- a/src/Collections/List.hpp +++ b/src/Collections/List.hpp @@ -150,7 +150,7 @@ namespace ArbUt { /// @brief Return a raw pointer to the beginning of the list. /// @return A raw array pointer to the beginning of the list. - const ValueT* non_null RawData() const noexcept { return _vector.data(); } + const ValueT* nullable RawData() const noexcept { return _vector.data(); } /// @brief Returns a std::vector representation of the current list. /// @return A std::vector representation of the current list. diff --git a/src/Memory/__OptionalUniquePtrList.hpp b/src/Memory/__OptionalUniquePtrList.hpp index fd9e69e..278b06f 100644 --- a/src/Memory/__OptionalUniquePtrList.hpp +++ b/src/Memory/__OptionalUniquePtrList.hpp @@ -141,7 +141,7 @@ namespace ArbUt { /// @brief Return a raw pointer to the beginning of the list. /// @return A raw array pointer to the beginning of the list. - ValueT* nullable const* non_null RawData() const noexcept { return _vector.data(); } + ValueT* nullable const* nullable RawData() const noexcept { return _vector.data(); } /// @brief Returns a std::vector representation of the current list. /// @return A std::vector representation of the current list. diff --git a/src/Memory/__UniquePtrList.hpp b/src/Memory/__UniquePtrList.hpp index 8febba3..4b9beca 100644 --- a/src/Memory/__UniquePtrList.hpp +++ b/src/Memory/__UniquePtrList.hpp @@ -147,7 +147,7 @@ namespace ArbUt { /// @brief Return a raw pointer to the beginning of the list. /// @return A raw array pointer to the beginning of the list. - ValueT* non_null const* non_null RawData() const noexcept { return _vector.data(); } + ValueT* non_null const* nullable RawData() const noexcept { return _vector.data(); } /// @brief Returns a std::vector representation of the current list. /// @return A std::vector representation of the current list.