summaryrefslogtreecommitdiff
path: root/src/FbTk/NotCopyable.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/NotCopyable.hh')
-rw-r--r--src/FbTk/NotCopyable.hh3
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{
33protected: 33protected:
34 NotCopyable() {} 34 NotCopyable() {}
35 virtual ~NotCopyable() { }
35private: 36private:
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