We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0da5c84 commit d51cb2bCopy full SHA for d51cb2b
libxml++/noncopyable.h
@@ -20,13 +20,8 @@ class NonCopyable
20
NonCopyable();
21
virtual ~NonCopyable();
22
23
-private:
24
- //These are not-implemented.
25
- //They are just here so we can declare them as private
26
- //so that this, and any derived class, do not have
27
- //copy constructors.
28
- NonCopyable(const NonCopyable&);
29
- NonCopyable& operator=(const NonCopyable&);
+ NonCopyable(const NonCopyable&) = delete;
+ NonCopyable& operator=(const NonCopyable&) = delete;
30
};
31
32
} // namespace xmlpp
0 commit comments