summary refs log tree commit diff
path: root/src/Common/Casts.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Casts.hpp')
-rw-r--r--src/Common/Casts.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Common/Casts.hpp b/src/Common/Casts.hpp
new file mode 100644
index 0000000..c2c7088
--- /dev/null
+++ b/src/Common/Casts.hpp
@@ -0,0 +1,3 @@
+#pragma once
+
+#define TO(type, value) (static_cast<type>(value))
\ No newline at end of file