aboutsummaryrefslogtreecommitdiff
path: root/include/odhtdb/utils.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-03-13 06:26:06 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commit5a8727e34b938b70623ca865273fd81c7604b461 (patch)
treea2921e90aa454072dc58fced36b508f67f5d1226 /include/odhtdb/utils.hpp
parent9ffc25c9d99fe86d4789108d1d8615ecb0388cc6 (diff)
Expose include dir
Diffstat (limited to 'include/odhtdb/utils.hpp')
-rwxr-xr-xinclude/odhtdb/utils.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/odhtdb/utils.hpp b/include/odhtdb/utils.hpp
new file mode 100755
index 0000000..01e478d
--- /dev/null
+++ b/include/odhtdb/utils.hpp
@@ -0,0 +1,6 @@
+#pragma once
+
+// Disable copying for a class or struct
+#define DISABLE_COPY(ClassName) \
+ ClassName(ClassName&) = delete; \
+ ClassName& operator = (ClassName&) = delete;