]> git.sesse.net Git - movit/blobdiff - mirror_effect.h
Use C++11 override everywhere it is appropriate.
[movit] / mirror_effect.h
index d9c3f717f9c776b75c83fe53b59653e29038863f..da3a7117601c342ca9150f66e18fe472258340dc 100644 (file)
@@ -12,13 +12,13 @@ namespace movit {
 class MirrorEffect : public Effect {
 public:
        MirrorEffect();
-       virtual std::string effect_type_id() const { return "MirrorEffect"; }
-       std::string output_fragment_shader();
+       std::string effect_type_id() const override { return "MirrorEffect"; }
+       std::string output_fragment_shader() override;
 
-       virtual bool needs_linear_light() const { return false; }
-       virtual bool needs_srgb_primaries() const { return false; }
-       virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; }
-       virtual bool one_to_one_sampling() const { return true; }
+       bool needs_linear_light() const override { return false; }
+       bool needs_srgb_primaries() const override { return false; }
+       AlphaHandling alpha_handling() const override { return DONT_CARE_ALPHA_TYPE; }
+       bool one_to_one_sampling() const override { return true; }
 };
 
 }  // namespace movit