c++11
fix mapnik::noncopyable Conflicts: include/mapnik/noncopyable.hpp
This commit is contained in:
parent
7adee4ab36
commit
e1fc9aed82
1 changed files with 9 additions and 9 deletions
|
@ -27,15 +27,15 @@ namespace mapnik {
|
|||
|
||||
namespace non_copyable_
|
||||
{
|
||||
class noncopyable
|
||||
{
|
||||
protected:
|
||||
noncopyable() {}
|
||||
~noncopyable() {}
|
||||
private:
|
||||
noncopyable( const noncopyable& );
|
||||
const noncopyable& operator=( const noncopyable& );
|
||||
};
|
||||
|
||||
class noncopyable
|
||||
{
|
||||
protected:
|
||||
constexpr noncopyable() = default;
|
||||
~noncopyable() = default;
|
||||
noncopyable( const noncopyable& ) = delete;
|
||||
noncopyable& operator=( const noncopyable& ) = delete;
|
||||
};
|
||||
}
|
||||
|
||||
typedef non_copyable_::noncopyable noncopyable;
|
||||
|
|
Loading…
Reference in a new issue