fix(restack): Add missing virtual dstructor to wm_restacker.

This commit is contained in:
Chase Geigle
2018-09-01 01:13:16 -05:00
parent cb0a351404
commit e374dd467e

View File

@ -15,6 +15,7 @@ namespace restack {
struct wm_restacker {
virtual void operator()(connection& conn, const bar_settings& opts, const logger& log) const = 0;
virtual ~wm_restacker() = default;
};
using restacker_map = std::unordered_map<std::string, std::unique_ptr<wm_restacker>>;