aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 841ba5a..da54ee5 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -53,7 +53,8 @@ namespace QuickMedia {
class BodyItem {
public:
BodyItem(std::string _title);
- BodyItem& operator=(BodyItem &other);
+ BodyItem(const BodyItem&) = delete;
+ BodyItem& operator=(const BodyItem &other);
static std::shared_ptr<BodyItem> create(std::string title) { return std::make_shared<BodyItem>(std::move(title)); }