Skip to content
Snippets Groups Projects
Commit 2363e917 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #6127: make noncopyable class actually noncopyable

parent 48f90bda
Branches
Tags
No related merge requests found
......@@ -28,13 +28,15 @@ namespace utilspp
{
class NonCopyable
{
public:
protected:
NonCopyable()
{}
~NonCopyable()
{}
private:
NonCopyable(const NonCopyable&)
{}
NonCopyable(const NonCopyable&);
const NonCopyable& operator=(const NonCopyable&);
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment