]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.h
Use the override specifier where appropriate
[libs/gui.git] / source / graphics / videomode.h
index 2836e11a5c134f00d0f610b54833089efeaa04ef..205245c630ff98e43179ecc1f94dac723a5f57bd 100644 (file)
@@ -13,7 +13,6 @@ class unsupported_video_mode: public std::runtime_error
 {
 public:
        unsupported_video_mode(const VideoMode &);
-       virtual ~unsupported_video_mode() throw () { }
 };
 
 
@@ -32,7 +31,7 @@ struct VideoMode
        const Monitor *monitor;
        unsigned width;
        unsigned height;
-       unsigned rate;
+       float rate;
        VideoRotation rotation;
 
        VideoMode();