summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/NotCopyable.hh9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/NotCopyable.hh b/src/NotCopyable.hh
index 1d119f0..025d5dc 100644
--- a/src/NotCopyable.hh
+++ b/src/NotCopyable.hh
@@ -21,8 +21,11 @@
21 21
22#ifndef NOTCOPYABLE_HH 22#ifndef NOTCOPYABLE_HH
23#define NOTCOPYABLE_HH 23#define NOTCOPYABLE_HH
24// inherit this class to 24
25// disable assignment and copy 25/** Makes the inherited class not copyable.
26 inherit this class to
27 disable assignment and copy
28*/
26class NotCopyable 29class NotCopyable
27{ 30{
28protected: 31protected:
@@ -33,4 +36,4 @@ private:
33 NotCopyable &operator=(const NotCopyable &rhs); // assignment operator 36 NotCopyable &operator=(const NotCopyable &rhs); // assignment operator
34}; 37};
35 38
36#endif //_NOTCOPYBLE_HH_ 39#endif //NOTCOPYBLE_HH