summaryrefslogtreecommitdiff
path: root/libs/surfaces/push2/scale.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces/push2/scale.cc')
-rw-r--r--libs/surfaces/push2/scale.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/surfaces/push2/scale.cc b/libs/surfaces/push2/scale.cc
index e5f04604d4..7cc2d423f9 100644
--- a/libs/surfaces/push2/scale.cc
+++ b/libs/surfaces/push2/scale.cc
@@ -290,7 +290,7 @@ ScaleLayout::button_right ()
void
ScaleLayout::show ()
{
- Push2::Button* b;
+ boost::shared_ptr<Push2::Button> b;
last_vpot = -1;
@@ -559,7 +559,7 @@ ScaleLayout::show_root_state ()
}
- Push2::Button* b = p2.button_by_id (bid);
+ boost::shared_ptr<Push2::Button> b = p2.button_by_id (bid);
if (b != root_button) {
if (root_button) {
@@ -610,7 +610,7 @@ ScaleLayout::menu_rearranged ()
void
ScaleLayout::update_cursor_buttons ()
{
- Push2::Button* b;
+ boost::shared_ptr<Push2::Button> b;
bool change;
b = p2.button_by_id (Push2::Up);