From 91418b32d7b67c335eb3baffc0bf381c04f68035 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 1 Feb 2018 20:56:03 +0100 Subject: Initial commit --- utils.hpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 utils.hpp (limited to 'utils.hpp') diff --git a/utils.hpp b/utils.hpp new file mode 100755 index 0000000..01e478d --- /dev/null +++ b/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; -- cgit v1.2.3