Always say "private noncopyable" to avoid warnings.

[SVN r12762]
This commit is contained in:
Darin Adler 2002-02-08 20:08:15 +00:00
parent e6fc2555f3
commit 4b636a7680
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ struct object_id_compare
// A singleton of this type coordinates the acknowledgements // A singleton of this type coordinates the acknowledgements
// of objects being created and used. // of objects being created and used.
class object_registrar class object_registrar
: boost::noncopyable : private boost::noncopyable
{ {
public: public:

View File

@ -20,7 +20,7 @@
namespace namespace
{ {
class DontTreadOnMe : boost::noncopyable class DontTreadOnMe : private boost::noncopyable
{ {
public: public:
DontTreadOnMe() { std::cout << "defanged!" << std::endl; } DontTreadOnMe() { std::cout << "defanged!" << std::endl; }