]> git.sesse.net Git - casparcg/blobdiff - core/producer/frame_producer.cpp
Fix a few Clang warnings.
[casparcg] / core / producer / frame_producer.cpp
index a840084800933eb282bedcdb292dabd857e76b73..6d843d270b59137927ad4e2e2c0da164e78d867f 100644 (file)
@@ -192,7 +192,7 @@ const spl::shared_ptr<frame_producer>& frame_producer::empty()
                std::future<std::wstring> call(const std::vector<std::wstring>& params) override{CASPAR_THROW_EXCEPTION(not_implemented());}
                variable& get_variable(const std::wstring& name) override { CASPAR_THROW_EXCEPTION(not_implemented()); }
                const std::vector<std::wstring>& get_variables() const override { static std::vector<std::wstring> empty; return empty; }
-               draw_frame last_frame() {return draw_frame::empty();}
+               draw_frame last_frame() override {return draw_frame::empty();}
                constraints& pixel_constraints() override { static constraints c; return c; }
 
                boost::property_tree::wptree info() const override
@@ -293,7 +293,7 @@ public:
        const std::vector<std::wstring>&                                        get_variables() const override                                                                                                  {return producer_->get_variables();}
        void                                                                                            leading_producer(const spl::shared_ptr<frame_producer>& producer) override              {return producer_->leading_producer(producer);}
        uint32_t                                                                                        nb_frames() const override                                                                                                              {return producer_->nb_frames();}
-       draw_frame                                                                                      last_frame()                                                                                                                                    {return producer_->last_frame();}
+       draw_frame                                                                                      last_frame() override                                                                                                                                   {return producer_->last_frame();}
        monitor::subject&                                                                       monitor_output() override                                                                                                               {return producer_->monitor_output();}
        bool                                                                                            collides(double x, double y) const override                                                                             {return producer_->collides(x, y);}
        void                                                                                            on_interaction(const interaction_event::ptr& event)     override                                        {return producer_->on_interaction(event);}