]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/row.h
Use the override specifier when overriding a virtual function
[libs/gltk.git] / source / row.h
index 4bf2d38d9e8d84918520715495789bff87d89732..678a3853cc2023b399286b628d3330ea6f0fce21 100644 (file)
@@ -2,17 +2,18 @@
 #define MSP_GLTK_ROW_H_
 
 #include "lineararrangement.h"
+#include "mspgltk_api.h"
 
 namespace Msp {
 namespace GLtk {
 
-class Row: public LinearArrangement
+class MSPGLTK_API Row: public LinearArrangement
 {
 public:
        Row(Layout &);
 
 private:
-       virtual void finish_widget(Widget &);
+       void finish_widget(Widget &) override;
 };
 
 } // namespace GLtk