aboutsummaryrefslogtreecommitdiff
path: root/src/crepe
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-04 21:47:42 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-04 21:47:42 +0100
commit84c5900445cc0ce8ab2fe8befc5050ff99def01e (patch)
treefc6915f210a1adc09a7775f65bb6c83022d90419 /src/crepe
parent63f7f640e24007b0a6b554d39c7150b29c968982 (diff)
remove copy/move constructor/operator from base Resource
Diffstat (limited to 'src/crepe')
-rw-r--r--src/crepe/Resource.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crepe/Resource.h b/src/crepe/Resource.h
index a2d65df..eceb15b 100644
--- a/src/crepe/Resource.h
+++ b/src/crepe/Resource.h
@@ -19,6 +19,11 @@ class Resource {
public:
Resource(const Asset & src);
virtual ~Resource() = default;
+
+ Resource(const Resource &) = delete;
+ Resource(Resource &&) = delete;
+ Resource & operator=(const Resource &) = delete;
+ Resource & operator=(Resource &&) = delete;
};
} // namespace crepe