summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-18 01:18:34 -0400
committerDavid Robillard <d@drobilla.net>2022-08-18 01:18:34 -0400
commit9126ed67acf17bb2009430cb6de25b2ffd783d8e (patch)
tree235eb9e377333520e026f568f020889dd9bdc21d /src/gui
parent86a914ed7bf5316cad6dcac5f69cc3b300b40a23 (diff)
downloadingen-9126ed67acf17bb2009430cb6de25b2ffd783d8e.tar.gz
ingen-9126ed67acf17bb2009430cb6de25b2ffd783d8e.tar.bz2
ingen-9126ed67acf17bb2009430cb6de25b2ffd783d8e.zip
Make empty methods and trivial constructors noexcept
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/PluginMenu.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/PluginMenu.hpp b/src/gui/PluginMenu.hpp
index 2cf130bb..4df5cb24 100644
--- a/src/gui/PluginMenu.hpp
+++ b/src/gui/PluginMenu.hpp
@@ -57,7 +57,9 @@ public:
private:
struct MenuRecord {
- MenuRecord(Gtk::MenuItem* i, Gtk::Menu* m) : item(i), menu(m) {}
+ MenuRecord(Gtk::MenuItem* i, Gtk::Menu* m) noexcept : item(i), menu(m)
+ {}
+
Gtk::MenuItem* item;
Gtk::Menu* menu;
};