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]
```
pull/2926/head
Aleksei Bavshin 2024-02-17 09:06:32 -08:00
parent fd5a03dc5f
commit 543290ab07
No known key found for this signature in database
GPG Key ID: 4F071603387A382A
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ class CssReloadHelper {
public:
CssReloadHelper(std::string cssFile, std::function<void()> callback);
virtual ~CssReloadHelper() = default;
virtual void monitorChanges();
protected: