summaryrefslogtreecommitdiff
path: root/include/fud_status.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-09-23 07:36:16 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-09-23 07:36:16 -0500
commit0b860bb5dd6d2007db605291d239a6a9d41f57d1 (patch)
treefab140e03a3665236503d1405de9d33ba58ccc4a /include/fud_status.hpp
parent7da829d48f9059c83ab9cada2c850621e8bbd3f3 (diff)
Installable library.
Diffstat (limited to 'include/fud_status.hpp')
-rw-r--r--include/fud_status.hpp8
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...);