From 84c5900445cc0ce8ab2fe8befc5050ff99def01e Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 4 Dec 2024 21:47:42 +0100 Subject: remove copy/move constructor/operator from base Resource --- src/crepe/Resource.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/crepe/Resource.h') 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 -- cgit v1.2.3