From 37dbaecd8fa2b66dfc81de5b9c3ac0f2d5bbcf33 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 10 Mar 2004 09:52:33 +0000 Subject: PropSet can not be copied so made explicit with private copy constructor and operator=. --- include/PropSet.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/PropSet.h') diff --git a/include/PropSet.h b/include/PropSet.h index 597c27059..1f4589f98 100644 --- a/include/PropSet.h +++ b/include/PropSet.h @@ -56,6 +56,11 @@ public: char *ToString(); // Caller must delete[] the return value bool GetFirst(char **key, char **val); bool GetNext(char **key, char **val); + +private: + // copy-value semantics not implemented + PropSet(const PropSet ©); + void operator=(const PropSet &assign); }; /** -- cgit v1.2.3