From 76bc59f8548bb3388747cc1c54326fb7236dc1eb Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 17 May 2022 12:49:45 +0200 Subject: refactor(minion): add quit function & improve in loop --- minion/src/util.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'minion/src/util.cpp') 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 -- cgit v1.2.3-18-g5258