From 6b4b59da74468032f088b08422f45405e57a2327 Mon Sep 17 00:00:00 2001 From: Joseph Lenox Date: Wed, 13 Jun 2018 22:26:21 -0500 Subject: [PATCH] Fixed signatures for on_save_preset and on_value_change function objects. --- src/GUI/Dialogs/PresetEditor.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GUI/Dialogs/PresetEditor.hpp b/src/GUI/Dialogs/PresetEditor.hpp index b40ed1fa0..a8ed24fc3 100644 --- a/src/GUI/Dialogs/PresetEditor.hpp +++ b/src/GUI/Dialogs/PresetEditor.hpp @@ -53,8 +53,8 @@ public: bool disable_tree_sel_changed_event {false}; void save_preset(); - std::function on_save_preset {}; - std::function on_value_change {}; + std::function on_save_preset {nullptr}; + std::function on_value_change {nullptr}; config_ptr config; void reload_config();