From 0b860bb5dd6d2007db605291d239a6a9d41f57d1 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Mon, 23 Sep 2024 07:36:16 -0500 Subject: Installable library. --- include/fud_status.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'include/fud_status.hpp') diff --git a/include/fud_status.hpp b/include/fud_status.hpp index 47b14a4..dd84429 100644 --- a/include/fud_status.hpp +++ b/include/fud_status.hpp @@ -83,7 +83,10 @@ static inline const char* FudStatusToString(FudStatus status) } } -static inline bool anyAreNull() { return false; } +static inline bool anyAreNull() +{ + return false; +} template bool anyAreNull(const T* pointer) @@ -94,8 +97,7 @@ bool anyAreNull(const T* pointer) template bool anyAreNull(T pointer, Ts... pointers) { - if (pointer == nullptr) - { + if (pointer == nullptr) { return true; } return anyAreNull(pointers...); -- cgit v1.2.3