summaryrefslogtreecommitdiffstats
path: root/src/gui/Port.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-08-02 13:34:45 +0200
committerDavid Robillard <d@drobilla.net>2020-08-02 13:34:45 +0200
commit7eae940654c8c81c1efc8a055a13c53fab42bf91 (patch)
tree8ac567cd98e765886fa4aa5b60ef6b24aab0235e /src/gui/Port.hpp
parentb8128027fcf79ece3ed973627dd4e76eb36b5997 (diff)
downloadingen-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.hpp9
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