From 8c33bdd29cd2c1f3e215314d575efb39fc1e4cbd Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Tue, 18 Nov 2014 10:08:28 +0000 Subject: [PATCH] improve signatures for copy constructor and assignment operator for GattServer --- nRF51GattServer.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nRF51GattServer.h b/nRF51GattServer.h index 4537aa6..5a9a4f6 100644 --- a/nRF51GattServer.h +++ b/nRF51GattServer.h @@ -55,8 +55,10 @@ private: descriptorCount = 0; }; - nRF51GattServer(nRF51GattServer const &); - void operator=(nRF51GattServer const &); + +private: + nRF51GattServer(const nRF51GattServer &); + const nRF51GattServer& operator=(const nRF51GattServer &); }; #endif