Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb0ccd5c authored by Mathias Agopian's avatar Mathias Agopian
Browse files

add a virtual destructor to region_rasterizer, to be on the safe side

parent 94aadce3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -62,6 +62,8 @@ public:
    class region_rasterizer {
        friend class region_operator;
        virtual void operator()(const RECT& rect) = 0;
    public:
        virtual ~region_rasterizer() { };
    };
    
    inline region_operator(int op, const region& lhs, const region& rhs)