From 6a1ce7d1ee5e6f20aa011fe994341d9d79ac35ea Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Aug 2020 14:28:50 +0200 Subject: Make member functions const or static where possible --- src/gui/LoadPluginWindow.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui') diff --git a/src/gui/LoadPluginWindow.hpp b/src/gui/LoadPluginWindow.hpp index 31843dde..49c61c76 100644 --- a/src/gui/LoadPluginWindow.hpp +++ b/src/gui/LoadPluginWindow.hpp @@ -121,8 +121,9 @@ private: void plugin_activated(const Gtk::TreeModel::Path& path, Gtk::TreeViewColumn* col); void plugin_selection_changed(); - std::string generate_module_name(SPtr plugin, - int offset=0); + static std::string + generate_module_name(SPtr plugin, + int offset = 0); void load_plugin(const Gtk::TreeModel::iterator& iter); -- cgit v1.2.1