fix: `-Wnon-virtual-dtor` warning in CssReloadHelper
``` ../include/util/css_reload_helper.hpp:15:7: warning: 'class waybar::CssReloadHelper' has virtual functions and accessible non-virtual destructor [-Wnon-virtual-dtor] ```
This commit is contained in:
parent
fd5a03dc5f
commit
543290ab07
|
@ -16,6 +16,8 @@ class CssReloadHelper {
|
|||
public:
|
||||
CssReloadHelper(std::string cssFile, std::function<void()> callback);
|
||||
|
||||
virtual ~CssReloadHelper() = default;
|
||||
|
||||
virtual void monitorChanges();
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue