diff options
author | dec05eba <dec05eba@protonmail.com> | 2017-12-09 01:14:41 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2017-12-09 01:14:47 +0100 |
commit | fb2072deb3e50afdb062570a3a80ec1afb5bfb56 (patch) | |
tree | 44baddd61a9aac3ead96ac8a6fab95d087d0bdd7 /include/utils.hpp | |
parent | bf24f6fc48b4eebb06cdcd7029d1d31d4c6028dd (diff) |
Finished project config file parsing
Diffstat (limited to 'include/utils.hpp')
-rwxr-xr-x | include/utils.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/utils.hpp b/include/utils.hpp new file mode 100755 index 0000000..9ad9d97 --- /dev/null +++ b/include/utils.hpp @@ -0,0 +1,10 @@ +#ifndef SIBS_UTILS_HPP +#define SIBS_UTILS_HPP + +// Disable copying for a class or struct +#define DISABLE_COPY(ClassName) \ + ClassName(ClassName&) = delete; \ + ClassName(ClassName&&) = delete; \ + ClassName& operator = (ClassName&) = delete; + +#endif // SIBS_UTILS_HPP |