diff options
Diffstat (limited to 'src/FbTk/NotCopyable.hh')
-rw-r--r-- | src/FbTk/NotCopyable.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/FbTk/NotCopyable.hh b/src/FbTk/NotCopyable.hh index 8310762..50919e4 100644 --- a/src/FbTk/NotCopyable.hh +++ b/src/FbTk/NotCopyable.hh | |||
@@ -32,11 +32,12 @@ class NotCopyable | |||
32 | { | 32 | { |
33 | protected: | 33 | protected: |
34 | NotCopyable() {} | 34 | NotCopyable() {} |
35 | virtual ~NotCopyable() { } | ||
35 | private: | 36 | private: |
36 | NotCopyable(const NotCopyable &rhs); // copy constructor | 37 | NotCopyable(const NotCopyable &rhs); // copy constructor |
37 | NotCopyable &operator=(const NotCopyable &rhs); // assignment operator | 38 | NotCopyable &operator=(const NotCopyable &rhs); // assignment operator |
38 | }; | 39 | }; |
39 | 40 | ||
40 | }; // end namespace FbTk | 41 | } // end namespace FbTk |
41 | 42 | ||
42 | #endif //FBTK_NOTCOPYABLE_HH | 43 | #endif //FBTK_NOTCOPYABLE_HH |