dfrph.hpp: Don't allow copies of DFRPH - cont...

Also define an explicit private assignment operator.

Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
Noel Eck 2017-07-13 17:12:32 -07:00
parent 539fbe7c75
commit f59f3131bb

View File

@ -136,6 +136,7 @@ namespace upm {
* Don't allow copies of this class * Don't allow copies of this class
*/ */
DFRPH(const DFRPH&) {} DFRPH(const DFRPH&) {}
DFRPH &operator=(const DFRPH &) {return *this;}
dfrph_context _dev; dfrph_context _dev;
}; };