From 88c01588aa0830e219eaa62588839e4d1e2883ce Mon Sep 17 00:00:00 2001 From: untodesu Date: Wed, 25 Jun 2025 00:44:36 +0500 Subject: Clang-format the entire source code --- game/shared/threading.hh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'game/shared/threading.hh') diff --git a/game/shared/threading.hh b/game/shared/threading.hh index 083ccbf..bce4811 100644 --- a/game/shared/threading.hh +++ b/game/shared/threading.hh @@ -3,10 +3,10 @@ #pragma once enum class task_status : unsigned int { - ENQUEUED = 0x0000U, - PROCESSING = 0x0001U, - COMPLETED = 0x0002U, - CANCELLED = 0x0004U, + ENQUEUED = 0x0000U, + PROCESSING = 0x0001U, + COMPLETED = 0x0002U, + CANCELLED = 0x0004U, }; class Task { @@ -32,17 +32,17 @@ void update(void); namespace threading::detail { -void submit_new(Task *task); +void submit_new(Task* task); } // namespace threading::detail namespace threading { template -void submit(AT &&... args); +void submit(AT&&... args); } // namespace threading template -inline void threading::submit(AT &&... args) +inline void threading::submit(AT&&... args) { threading::detail::submit_new(new T(args...)); } -- cgit