Turns out vector::data() can return null
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
9eca4fa9bb
commit
3b19f8b268
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue