From 81d1bef13c101bafeb618a9849b35416927e51cb Mon Sep 17 00:00:00 2001 From: Patrick Ohly Date: Tue, 19 Mar 2013 14:55:13 +0100 Subject: testing: mark ClientTest non-copyable Fixes a correct Klocwork warning about a memory leak when using the default copy operator - never happens in practice, though. --- test/ClientTest.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/ClientTest.h b/test/ClientTest.h index 63e222e1..d3665b37 100644 --- a/test/ClientTest.h +++ b/test/ClientTest.h @@ -45,6 +45,8 @@ #include #include +#include + #include SE_BEGIN_CXX @@ -236,7 +238,7 @@ class SyncTests; * properties (like available sync sources) and then creates several * tests. */ -class ClientTest { +class ClientTest : private boost::noncopyable { public: ClientTest(int serverSleepSec = 0, const std::string &serverLog= ""); virtual ~ClientTest(); -- cgit v1.2.3