diff options
author | David Robillard <d@drobilla.net> | 2020-08-02 13:34:45 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-02 13:34:45 +0200 |
commit | 7eae940654c8c81c1efc8a055a13c53fab42bf91 (patch) | |
tree | 8ac567cd98e765886fa4aa5b60ef6b24aab0235e /src/gui/Port.hpp | |
parent | b8128027fcf79ece3ed973627dd4e76eb36b5997 (diff) | |
download | ingen-7eae940654c8c81c1efc8a055a13c53fab42bf91.tar.gz ingen-7eae940654c8c81c1efc8a055a13c53fab42bf91.tar.bz2 ingen-7eae940654c8c81c1efc8a055a13c53fab42bf91.zip |
Remove std::weak_ptr alias
Diffstat (limited to 'src/gui/Port.hpp')
-rw-r--r-- | src/gui/Port.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/Port.hpp b/src/gui/Port.hpp index 72b91b2e..dd5c8b92 100644 --- a/src/gui/Port.hpp +++ b/src/gui/Port.hpp @@ -23,6 +23,7 @@ #include <gtkmm/menu.h> #include <cassert> +#include <memory> #include <string> namespace ingen { @@ -87,10 +88,10 @@ private: void port_properties_changed(); void set_type_tag(); - App& _app; - WPtr<const client::PortModel> _port_model; - bool _entered : 1; - bool _flipped : 1; + App& _app; + std::weak_ptr<const client::PortModel> _port_model; + bool _entered : 1; + bool _flipped : 1; }; } // namespace gui |