From 6e419a961e0b17227f4341880055c5690410607c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 2 Sep 2018 13:23:36 -0400 Subject: use boost::shared_ptr<> to manage Button/Pad lifetimes in Push2 code --- libs/surfaces/push2/mix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs/surfaces/push2/mix.h') 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 mode_button; VPotMode vpot_mode; void show_vpot_mode (); -- cgit v1.2.3