diff options
| author | Mel <einebeere@gmail.com> | 2024-02-15 11:19:59 +0100 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2024-02-15 11:19:59 +0100 |
| commit | 87ef308220addbe4406006ceb802a7364e6f1a05 (patch) | |
| tree | cae5638fbe7f1a7a5b94da16466faeb3ccf32e29 /src | |
| parent | 0a5e412541937ead88377cabdb565ecfe65c0afc (diff) | |
| download | meowcraft-87ef308220addbe4406006ceb802a7364e6f1a05.tar.zst meowcraft-87ef308220addbe4406006ceb802a7364e6f1a05.zip | |
Add shorter macro for [[nodiscard]] (PURE)
Diffstat (limited to 'src')
| -rw-r--r-- | src/Common/Pure.hpp | 4 |
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 |
