Style fixes.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-12-12 11:56:13 +01:00
parent a972162d6e
commit b909fc720a
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
1 changed files with 2 additions and 4 deletions

View File

@ -1,8 +1,8 @@
#ifndef ARBUTILS___UNIQUEPTRLIST_HPP
#define ARBUTILS___UNIQUEPTRLIST_HPP
#include "__BorrowedPtr.hpp"
#include "../Assert.hpp"
#include "__BorrowedPtr.hpp"
namespace ArbUt {
/// @brief Collection of pointers that is owned by the list. When the list exits scope, the destructor on all
@ -17,9 +17,7 @@ namespace ArbUt {
inline UniquePtrList() noexcept : _vector() {}
/// @brief Initialises a UniquePtrList from a std::vector of raw pointers.
/// @param vec A std::vector of raw pointers.
inline UniquePtrList(const std::vector<ValueT*>& vec) noexcept : _vector(vec) {
AssertAllNotNull(vec);
}
inline UniquePtrList(const std::vector<ValueT*>& vec) noexcept : _vector(vec) { AssertAllNotNull(vec); }
/// @brief Initialises a UniquePtrList with a certain capacity reserved for use. This does not set immediate
/// size.
/// @param capacity The desired capacity.