From b909fc720adba632c18d437ffb03aaf2a0b37da1 Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 12 Dec 2020 11:56:13 +0100 Subject: [PATCH] Style fixes. --- src/Memory/__UniquePtrList.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/Memory/__UniquePtrList.hpp b/src/Memory/__UniquePtrList.hpp index 19a46fb..344d208 100644 --- a/src/Memory/__UniquePtrList.hpp +++ b/src/Memory/__UniquePtrList.hpp @@ -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& vec) noexcept : _vector(vec) { - AssertAllNotNull(vec); - } + inline UniquePtrList(const std::vector& 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.