summary refs log tree commit diff
path: root/src/Common/Pure.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/Pure.hpp')
-rw-r--r--src/Common/Pure.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Common/Pure.hpp b/src/Common/Pure.hpp
new file mode 100644
index 0000000..e6e4f19
--- /dev/null
+++ b/src/Common/Pure.hpp
@@ -0,0 +1,4 @@
+#pragma once
+
+// Shorter and slightly nicer way to write [[nodiscard]].
+#define PURE [[nodiscard]]
\ No newline at end of file