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

This commit is contained in:
Deukhoofd committed 2020-12-12 11:56:13 +01:00
1 parent a972162d6e
commit b909fc720a
1 file changed
+2 -4
+2 -4
View File
@@ -1,8 +1,8 @@
#ifndef ARBUTILS___UNIQUEPTRLIST_HPP #ifndef ARBUTILS___UNIQUEPTRLIST_HPP
#define ARBUTILS___UNIQUEPTRLIST_HPP #define ARBUTILS___UNIQUEPTRLIST_HPP
#include "__BorrowedPtr.hpp"
#include "../Assert.hpp" #include "../Assert.hpp"
#include "__BorrowedPtr.hpp"
namespace ArbUt { namespace ArbUt {
/// @brief Collection of pointers that is owned by the list. When the list exits scope, the destructor on all /// @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() {} inline UniquePtrList() noexcept : _vector() {}
/// @brief Initialises a UniquePtrList from a std::vector of raw pointers. /// @brief Initialises a UniquePtrList from a std::vector of raw pointers.
/// @param vec A std::vector of raw pointers. /// @param vec A std::vector of raw pointers.
inline UniquePtrList(const std::vector<ValueT*>& vec) noexcept : _vector(vec) { inline UniquePtrList(const std::vector<ValueT*>& vec) noexcept : _vector(vec) { AssertAllNotNull(vec); }
AssertAllNotNull(vec);
}
/// @brief Initialises a UniquePtrList with a certain capacity reserved for use. This does not set immediate /// @brief Initialises a UniquePtrList with a certain capacity reserved for use. This does not set immediate
/// size. /// size.
/// @param capacity The desired capacity. /// @param capacity The desired capacity.