Turns out vector::data() can return null
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	continuous-integration/drone/push Build is failing
				
			This commit is contained in:
		| @@ -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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user