diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-02 18:14:48 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2022-10-02 19:29:39 +0100 |
commit | 932f4cdc07c0d5894621f51ad45b286e6c2e4415 (patch) | |
tree | 4df22157a73c65baebbff849cfb02b9fecd7b466 /lib/collection.hpp | |
parent | Disable warnings on generated/wrapper code (diff) | |
download | ilt-932f4cdc07c0d5894621f51ad45b286e6c2e4415.tar.bz2 ilt-932f4cdc07c0d5894621f51ad45b286e6c2e4415.tar.xz ilt-932f4cdc07c0d5894621f51ad45b286e6c2e4415.zip |
Latest clang-formatting
Diffstat (limited to 'lib/collection.hpp')
-rw-r--r-- | lib/collection.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/collection.hpp b/lib/collection.hpp index 4a54124..65d72f3 100644 --- a/lib/collection.hpp +++ b/lib/collection.hpp @@ -16,7 +16,8 @@ public: template<typename T = Object, typename... Params> auto - create(Params &&... params) requires std::is_base_of_v<Object, T> + create(Params &&... params) + requires std::is_base_of_v<Object, T> { if constexpr (shared) { auto obj = std::make_shared<T>(std::forward<Params>(params)...); |