summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-10-24 00:10:03 +0200
committerCarl Hetherington <cth@carlh.net>2021-10-24 00:10:03 +0200
commitb12a5c89fd8ad6b30c5bd0c782b152d5515ab669 (patch)
treea1bb1e9c32ddf3f767f91d27e416a04c51286d9f /src
parentdd1a317773fbe1dc53b4586512c312da2d89405e (diff)
Delete Document copy constructor.
Diffstat (limited to 'src')
-rw-r--r--src/cxml.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cxml.h b/src/cxml.h
index fbdd22f..d2cb5b6 100644
--- a/src/cxml.h
+++ b/src/cxml.h
@@ -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);