diff --git a/src/gui/widgets/grid.hpp b/src/gui/widgets/grid.hpp index 497556389bd0..94c365195b62 100644 --- a/src/gui/widgets/grid.hpp +++ b/src/gui/widgets/grid.hpp @@ -33,6 +33,12 @@ class grid : public widget public: explicit grid(const unsigned rows = 0, const unsigned cols = 0); + /** Delete the copy constructor. */ + grid(const grid&) = delete; + + /** Delete the move assignment operator. */ + grid& operator=(const grid&) = delete; + virtual ~grid(); /***** ***** ***** ***** LAYOUT FLAGS ***** ***** ***** *****/