summaryrefslogtreecommitdiff
path: root/minion/src/util.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-17 12:49:45 +0200
committerHampusM <hampus@hampusmat.com>2022-05-17 14:02:12 +0200
commit76bc59f8548bb3388747cc1c54326fb7236dc1eb (patch)
tree5ebd41472c86f55cd17551a1906e5a4618d08a5a /minion/src/util.cpp
parent0529ac97653bc535c5c1db832d258f661d69309c (diff)
refactor(minion): add quit function & improve in loop
Diffstat (limited to 'minion/src/util.cpp')
-rw-r--r--minion/src/util.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/minion/src/util.cpp b/minion/src/util.cpp
index 540a20c..15cf840 100644
--- a/minion/src/util.cpp
+++ b/minion/src/util.cpp
@@ -37,4 +37,10 @@ auto streq(const char *str_one, const char *str_two) noexcept -> bool
return strcmp(str_one, str_two) == 0;
}
+void quit() noexcept
+{
+ while (true)
+ ;
+}
+
} // namespace util