diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2018-09-02 13:23:36 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2018-09-02 13:23:57 -0400 |
commit | 6e419a961e0b17227f4341880055c5690410607c (patch) | |
tree | e7dfe0d5ce26b2fd73b09521e61b76dd8069ad0e /libs/surfaces/push2/mix.h | |
parent | 67f733bb9768e60fe7108613b3f9335675c7d08d (diff) |
use boost::shared_ptr<> to manage Button/Pad lifetimes in Push2 code
Diffstat (limited to 'libs/surfaces/push2/mix.h')
-rw-r--r-- | libs/surfaces/push2/mix.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/surfaces/push2/mix.h b/libs/surfaces/push2/mix.h index c3d12cea49..bf7436a17d 100644 --- a/libs/surfaces/push2/mix.h +++ b/libs/surfaces/push2/mix.h @@ -99,7 +99,7 @@ class MixLayout : public Push2Layout Send1, Send2, Send3, Send4, Send5 }; - Push2::Button* mode_button; + boost::shared_ptr<Push2::Button> mode_button; VPotMode vpot_mode; void show_vpot_mode (); |