aboutsummaryrefslogtreecommitdiff
path: root/include/cru/common/base.hpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-06-14 00:44:14 +0800
committercrupest <crupest@outlook.com>2019-06-14 00:44:14 +0800
commit5ec370e5f91ad8b5ed7717eb93f4e3240ea4e784 (patch)
tree970188397f236715d3d021ddcfcbdeeee73ee860 /include/cru/common/base.hpp
parent7b1e9fd2410c9d4fafbe5de9459b18775e6cc465 (diff)
downloadcru-5ec370e5f91ad8b5ed7717eb93f4e3240ea4e784.tar.gz
cru-5ec370e5f91ad8b5ed7717eb93f4e3240ea4e784.tar.bz2
cru-5ec370e5f91ad8b5ed7717eb93f4e3240ea4e784.zip
...
Diffstat (limited to 'include/cru/common/base.hpp')
-rw-r--r--include/cru/common/base.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cru/common/base.hpp b/include/cru/common/base.hpp
index 7dfe8240..d72b97f2 100644
--- a/include/cru/common/base.hpp
+++ b/include/cru/common/base.hpp
@@ -13,6 +13,11 @@ class Object {
};
struct Interface {
+ Interface() = default;
+ Interface(const Interface& other) = delete;
+ Interface(Interface&& other) = delete;
+ Interface& operator=(const Interface& other) = delete;
+ Interface& operator=(Interface&& other) = delete;
virtual ~Interface() = default;
};
} // namespace cru