From f59f3131bb60ec63432da18176653320f299bb5a Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Thu, 13 Jul 2017 17:12:32 -0700 Subject: [PATCH] dfrph.hpp: Don't allow copies of DFRPH - cont... Also define an explicit private assignment operator. Signed-off-by: Noel Eck --- src/dfrph/dfrph.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dfrph/dfrph.hpp b/src/dfrph/dfrph.hpp index 2b4b86fc..58962aef 100644 --- a/src/dfrph/dfrph.hpp +++ b/src/dfrph/dfrph.hpp @@ -136,6 +136,7 @@ namespace upm { * Don't allow copies of this class */ DFRPH(const DFRPH&) {} + DFRPH &operator=(const DFRPH &) {return *this;} dfrph_context _dev; };