diff options
author | Matthew Barth <msbarth@us.ibm.com> | 2017-11-14 14:02:34 -0600 |
---|---|---|
committer | Matthew Barth <msbarth@linux.vnet.ibm.com> | 2017-11-21 19:36:45 +0000 |
commit | 0081fdb82a487cbe48a467bc87484f79085a00b5 (patch) | |
tree | 946545ed52cdd4504173ca1dfd97e72fb8966a31 /control | |
parent | 20819728b573b6ab0f80dfa382314d2a10084d26 (diff) | |
download | phosphor-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>
Diffstat (limited to 'control')
-rw-r--r-- | control/zone.hpp | 2 |
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; |