diff options
Diffstat (limited to 'include/fud_status.hpp')
-rw-r--r-- | include/fud_status.hpp | 8 |
1 files changed, 5 insertions, 3 deletions
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 <typename T> bool anyAreNull(const T* pointer) @@ -94,8 +97,7 @@ bool anyAreNull(const T* pointer) template <typename T, typename... Ts> bool anyAreNull(T pointer, Ts... pointers) { - if (pointer == nullptr) - { + if (pointer == nullptr) { return true; } return anyAreNull(pointers...); |