diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-17 12:49:45 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-05-17 14:02:12 +0200 |
commit | 76bc59f8548bb3388747cc1c54326fb7236dc1eb (patch) | |
tree | 5ebd41472c86f55cd17551a1906e5a4618d08a5a /minion/src/util.cpp | |
parent | 0529ac97653bc535c5c1db832d258f661d69309c (diff) |
refactor(minion): add quit function & improve in loop
Diffstat (limited to 'minion/src/util.cpp')
-rw-r--r-- | minion/src/util.cpp | 6 |
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 |