diff options
Diffstat (limited to 'src/FbTk/NotCopyable.hh')
-rw-r--r-- | src/FbTk/NotCopyable.hh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/FbTk/NotCopyable.hh b/src/FbTk/NotCopyable.hh index e575b9e..8310762 100644 --- a/src/FbTk/NotCopyable.hh +++ b/src/FbTk/NotCopyable.hh | |||
@@ -25,16 +25,16 @@ | |||
25 | namespace FbTk { | 25 | namespace FbTk { |
26 | 26 | ||
27 | /** Makes the inherited class not copyable. | 27 | /** Makes the inherited class not copyable. |
28 | inherit this class to | 28 | inherit this class to |
29 | disable assignment and copy | 29 | disable assignment and copy |
30 | */ | 30 | */ |
31 | class NotCopyable | 31 | class NotCopyable |
32 | { | 32 | { |
33 | protected: | 33 | protected: |
34 | NotCopyable() {} | 34 | NotCopyable() {} |
35 | private: | 35 | private: |
36 | NotCopyable(const NotCopyable &rhs); // copy constructor | 36 | NotCopyable(const NotCopyable &rhs); // copy constructor |
37 | NotCopyable &operator=(const NotCopyable &rhs); // assignment operator | 37 | NotCopyable &operator=(const NotCopyable &rhs); // assignment operator |
38 | }; | 38 | }; |
39 | 39 | ||
40 | }; // end namespace FbTk | 40 | }; // end namespace FbTk |