NonCopyable: Remove private access specifier

This isn't necessary, as the member functions are deleted.
If someone tries to perform a copy, the compiler will now
indicate that the member functions/constructors are deleted,
rather than inaccessible.
This commit is contained in:
Lioncash 2016-03-12 14:41:18 -05:00
parent 5d74e02286
commit 2ce6b449d1
1 changed files with 0 additions and 1 deletions

View File

@ -11,7 +11,6 @@ protected:
constexpr NonCopyable() = default;
~NonCopyable() = default;
private:
NonCopyable(const NonCopyable&) = delete;
NonCopyable& operator=(const NonCopyable&) = delete;
};