diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-02-17 14:26:29 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:41 +0200 |
commit | 33e823ddddddd4a13b1a05b90ae5b419b89bcb1d (patch) | |
tree | 7672ca6f2b3c3268decf0b44df1804b10f1a92e1 /include/utils.hpp | |
parent | 40d94ad83f74753b71f33b58be8664bb21200219 (diff) |
Add encryption functions (xchacha20)
Changed license to GPL 3.0 because of incompatible license with opendht.
Should odhtdb stay GPL 3.0 or should opendht be replaced with libdht
so license can be changed back to MIT?
Diffstat (limited to 'include/utils.hpp')
-rwxr-xr-x | include/utils.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/utils.hpp b/include/utils.hpp new file mode 100755 index 0000000..01e478d --- /dev/null +++ b/include/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; |