forked from boostorg/utility
Always say "private noncopyable" to avoid warnings.
[SVN r12762]
This commit is contained in:
@ -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:
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
namespace
|
||||
{
|
||||
class DontTreadOnMe : boost::noncopyable
|
||||
class DontTreadOnMe : private boost::noncopyable
|
||||
{
|
||||
public:
|
||||
DontTreadOnMe() { std::cout << "defanged!" << std::endl; }
|
||||
|
Reference in New Issue
Block a user