From 539fbe7c75a75f77152306d63293b2a0808b724a Mon Sep 17 00:00:00 2001 From: Noel Eck Date: Mon, 10 Jul 2017 14:43:02 -0700 Subject: [PATCH] dfrph.hpp: Don't allow copies of DFRPH Small change to explicitly hide the copy constructor for DFRPH. Signed-off-by: Noel Eck --- src/dfrph/dfrph.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/dfrph/dfrph.hpp b/src/dfrph/dfrph.hpp index bce9c775..2b4b86fc 100644 --- a/src/dfrph/dfrph.hpp +++ b/src/dfrph/dfrph.hpp @@ -132,6 +132,11 @@ namespace upm { float pH(unsigned int samples = 15); private: + /** + * Don't allow copies of this class + */ + DFRPH(const DFRPH&) {} + dfrph_context _dev; }; }