From 4b636a7680d51aa7a0c1ef771874a71467179df0 Mon Sep 17 00:00:00 2001 From: Darin Adler Date: Fri, 8 Feb 2002 20:08:15 +0000 Subject: [PATCH] Always say "private noncopyable" to avoid warnings. [SVN r12762] --- base_from_member_test.cpp | 2 +- noncopyable_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/base_from_member_test.cpp b/base_from_member_test.cpp index c422913..82f0d43 100644 --- a/base_from_member_test.cpp +++ b/base_from_member_test.cpp @@ -57,7 +57,7 @@ struct object_id_compare // A singleton of this type coordinates the acknowledgements // of objects being created and used. class object_registrar - : boost::noncopyable + : private boost::noncopyable { public: diff --git a/noncopyable_test.cpp b/noncopyable_test.cpp index 6ff951d..9986401 100644 --- a/noncopyable_test.cpp +++ b/noncopyable_test.cpp @@ -20,7 +20,7 @@ namespace { - class DontTreadOnMe : boost::noncopyable + class DontTreadOnMe : private boost::noncopyable { public: DontTreadOnMe() { std::cout << "defanged!" << std::endl; }