summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-11-14 14:02:34 -0600
committerMatthew Barth <msbarth@linux.vnet.ibm.com>2017-11-21 19:36:45 +0000
commit0081fdb82a487cbe48a467bc87484f79085a00b5 (patch)
tree946545ed52cdd4504173ca1dfd97e72fb8966a31
parent20819728b573b6ab0f80dfa382314d2a10084d26 (diff)
downloadphosphor-fan-presence-0081fdb82a487cbe48a467bc87484f79085a00b5.tar.gz
phosphor-fan-presence-0081fdb82a487cbe48a467bc87484f79085a00b5.zip
Disable zone move constructor
To ensure no future enhancements attempt to store a reference to the zone object that are used to allow zone function calls. Change-Id: I0dc266445abdbce86b5fd505589aa96b7730c29a Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
-rw-r--r--control/zone.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/control/zone.hpp b/control/zone.hpp
index dbf4378..bc08f48 100644
--- a/control/zone.hpp
+++ b/control/zone.hpp
@@ -36,7 +36,7 @@ class Zone
Zone() = delete;
Zone(const Zone&) = delete;
- Zone(Zone&&) = default;
+ Zone(Zone&&) = delete;
Zone& operator=(const Zone&) = delete;
Zone& operator=(Zone&&) = delete;
~Zone() = default;
OpenPOWER on IntegriCloud