]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/arrangement.h
Make sure classes follow the rule of 0/3/5
[libs/gltk.git] / source / arrangement.h
index 2decb3eb4fc5ef71513fe9985b86462e5cf04425..4a651bac864a189cbb8c2942e35390939c2bff38 100644 (file)
@@ -3,6 +3,7 @@
 
 #include <list>
 #include <stdexcept>
+#include <msp/core/noncopyable.h>
 #include "layout.h"
 #include "mspgltk_api.h"
 
@@ -15,10 +16,9 @@ class MSPGLTK_API arrangement_error: public std::logic_error
 {
 public:
        arrangement_error(const std::string &w): std::logic_error(w) { }
-       virtual ~arrangement_error() throw() { }
 };
 
-class MSPGLTK_API Arrangement
+class MSPGLTK_API Arrangement: public NonCopyable
 {
 protected:
        enum Side