diff options
author | David Robillard <d@drobilla.net> | 2020-08-01 18:59:18 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 01:48:48 +0200 |
commit | 7b70b455e6199b508217b021d9a0dfc08f9a7794 (patch) | |
tree | cb005e7cd9414cc3eb4b7c1baa52de69664dcd02 /src/gui/GraphBox.hpp | |
parent | 848bb52824657c20b1d758aebcecefb5d8c37fb9 (diff) | |
download | ingen-7b70b455e6199b508217b021d9a0dfc08f9a7794.tar.gz ingen-7b70b455e6199b508217b021d9a0dfc08f9a7794.tar.bz2 ingen-7b70b455e6199b508217b021d9a0dfc08f9a7794.zip |
Use default member initialization
Diffstat (limited to 'src/gui/GraphBox.hpp')
-rw-r--r-- | src/gui/GraphBox.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/GraphBox.hpp b/src/gui/GraphBox.hpp index 3a1049cd..175ad392 100644 --- a/src/gui/GraphBox.hpp +++ b/src/gui/GraphBox.hpp @@ -144,10 +144,10 @@ private: void event_show_engine(); void event_clipboard_changed(GdkEventOwnerChange* ev); - App* _app; + App* _app = nullptr; SPtr<const client::GraphModel> _graph; SPtr<GraphView> _view; - GraphWindow* _window; + GraphWindow* _window = nullptr; sigc::connection new_port_connection; sigc::connection removed_port_connection; @@ -204,8 +204,8 @@ private: /** Invisible bin used to store breadcrumbs when not shown by a view */ Gtk::Alignment _breadcrumb_bin; - bool _has_shown_documentation; - bool _enable_signal; + bool _has_shown_documentation = false; + bool _enable_signal = true; }; } // namespace gui |