From bfc0b96db6cc6c2e94d93f9c4239adca14a6bb0c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 Jul 2013 22:20:39 +0100 Subject: More noncopyable. --- src/lib/content.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/lib/content.h') diff --git a/src/lib/content.h b/src/lib/content.h index cd8914cba..a340fb1aa 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -42,20 +42,18 @@ public: static int const LENGTH; }; -class Content : public boost::enable_shared_from_this +class Content : public boost::enable_shared_from_this, public boost::noncopyable { public: Content (boost::shared_ptr, Time); Content (boost::shared_ptr, boost::filesystem::path); Content (boost::shared_ptr, boost::shared_ptr); - Content (Content const &); virtual ~Content () {} virtual void examine (boost::shared_ptr); virtual std::string summary () const = 0; virtual std::string information () const = 0; virtual void as_xml (xmlpp::Node *) const; - virtual boost::shared_ptr clone () const = 0; virtual Time length () const = 0; boost::filesystem::path file () const { -- cgit v1.2.3