summaryrefslogtreecommitdiff
path: root/src/SharedDefs.hpp
diff options
context:
space:
mode:
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)>;