summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-04-23 22:35:07 +0200
committerCarl Hetherington <cth@carlh.net>2022-04-23 22:35:07 +0200
commit59ba9648836cb96795dc93531967737f0ecea053 (patch)
tree83e8090a53ec0d1dc3eaedf4c044842a53d92ba6 /src/dcp.h
parente3db3771b27e6b622f04ba79abfde829ebd85876 (diff)
Add move constructor.
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 6e50c48e..d80aa9db 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -93,6 +93,8 @@ public:
DCP (DCP const&) = delete;
DCP& operator= (DCP const&) = delete;
+ DCP (DCP &&);
+ DCP& operator= (DCP &&);
/** Read a DCP. This method does not do any deep checking of the DCP's validity, but
* if it comes across any bad things it will do one of two things.