Commit d51cb2b4 authored by Murray Cumming's avatar Murray Cumming

C++11: NonCopyable: Use = delete instead of private.

parent 0da5c841
......@@ -20,13 +20,8 @@ protected:
virtual ~NonCopyable();
//These are not-implemented.
//They are just here so we can declare them as private
//so that this, and any derived class, do not have
//copy constructors.
NonCopyable(const NonCopyable&);
NonCopyable& operator=(const NonCopyable&);
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator=(const NonCopyable&) = delete;
} // namespace xmlpp
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment