Delete Document copy constructor.
[libcxml.git] / src / cxml.h
index fbdd22fcb47befc097d6052d360352b51a7e57b8..d2cb5b6518ce347f0709e9731bc1e0a7c3f9582f 100644 (file)
@@ -247,6 +247,9 @@ public:
        Document (std::string root_name);
        Document (std::string root_name, boost::filesystem::path);
 
+       Document (Document const&) = delete;
+       Document& operator= (Document const&) = delete;
+
        virtual ~Document ();
 
        void read_file (boost::filesystem::path);