summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-09-03 13:38:37 +0200
committerRobin Gareus <robin@gareus.org>2018-09-03 13:38:37 +0200
commited678aa2f9e62555cec43cec3a181525aa1f2dd4 (patch)
tree845e2eac50723c5039730247670750252cef3156
parent6e419a961e0b17227f4341880055c5690410607c (diff)
Fix shared_ptr initialization
error: no matching function for call to 'boost::shared_ptr<ArdourSurface::Push2::Button>::shared_ptr(int)'
-rw-r--r--libs/surfaces/push2/scale.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/surfaces/push2/scale.cc b/libs/surfaces/push2/scale.cc
index 7cc2d423f9..be7111282f 100644
--- a/libs/surfaces/push2/scale.cc
+++ b/libs/surfaces/push2/scale.cc
@@ -47,7 +47,6 @@ ScaleLayout::ScaleLayout (Push2& p, Session & s, std::string const & name)
: Push2Layout (p, s, name)
, last_vpot (-1)
, vpot_delta_cnt (0)
- , root_button (0)
{
Pango::FontDescription fd ("Sans 10");