]> git.tdb.fi Git - libs/gltk.git/blobdiff - source/indicator.h
Use the override specifier when overriding a virtual function
[libs/gltk.git] / source / indicator.h
index 2b5b2a397f22cf79c11ec1e567fbaad6e9cf0d3a..9ec9f33c8c2a1fa41f3048ae669e7b06ce2383b4 100644 (file)
@@ -13,7 +13,7 @@ An Indicator visualizes a boolean state.  It can be either active or inactive.
 class MSPGLTK_API Indicator: public Widget
 {
 public:
-       virtual const char *get_class() const { return "indicator"; }
+       const char *get_class() const override { return "indicator"; }
 
        void set_active(bool);
 };