summaryrefslogtreecommitdiff
path: root/src/SharedDefs.hpp
diff options
context:
space:
mode:
authorKamikadze <40305144+Kam1k4dze@users.noreply.github.com>2025-05-31 18:02:02 +0500
committerGitHub <noreply@github.com>2025-05-31 14:02:02 +0100
commit4078e1d17c0fb1439ee5a0ba1e539f06a8f47aab (patch)
tree33a5bed332c5ce217b9e885f56e07c9e732b35fa /src/SharedDefs.hpp
parentaf2fdb5d58f5d3017aafd78a8ddafb40f710e34b (diff)
refactor: replace all `typedef` with `using` (#10594)
Diffstat (limited to 'src/SharedDefs.hpp')
-rw-r--r--src/SharedDefs.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SharedDefs.hpp b/src/SharedDefs.hpp
index a46a2429..b8094997 100644
--- a/src/SharedDefs.hpp
+++ b/src/SharedDefs.hpp
@@ -58,8 +58,8 @@ struct SDispatchResult {
std::string error;
};
-typedef int64_t WINDOWID;
-typedef int64_t MONITORID;
-typedef int64_t WORKSPACEID;
+using WINDOWID = int64_t;
+using MONITORID = int64_t;
+using WORKSPACEID = int64_t;
-typedef std::function<void(void*, SCallbackInfo&, std::any)> HOOK_CALLBACK_FN;
+using HOOK_CALLBACK_FN = std::function<void(void*, SCallbackInfo&, std::any)>;