mirror of
https://github.com/boostorg/core.git
synced 2025-08-13 19:54:28 +02:00
Always say "private noncopyable" to avoid warnings.
[SVN r12762]
This commit is contained in:
committed by
Andrey Semashev
parent
f822045487
commit
963781e154
@@ -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; }
|
||||||
|
Reference in New Issue
Block a user