add explict destructor for Pannable

git-svn-id: svn://localhost/ardour2/branches/3.0@8749 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-02-07 18:20:18 +00:00
parent 373e2c0413
commit f17e2847b8
2 changed files with 10 additions and 1 deletions

View file

@ -36,8 +36,11 @@ class Session;
class AutomationControl;
class Panner;
struct Pannable : public PBD::Stateful, public Automatable, public SessionHandleRef {
class Pannable : public PBD::Stateful, public Automatable, public SessionHandleRef
{
public:
Pannable (Session& s);
~Pannable ();
boost::shared_ptr<AutomationControl> pan_azimuth_control;
boost::shared_ptr<AutomationControl> pan_elevation_control;

View file

@ -20,6 +20,7 @@
#include "pbd/error.h"
#include "pbd/convert.h"
#include "ardour/debug.h"
#include "ardour/automation_control.h"
#include "ardour/automation_list.h"
#include "ardour/pannable.h"
@ -59,6 +60,11 @@ Pannable::Pannable (Session& s)
pan_lfe_control->alist()->automation_state_changed.connect_same_thread (*this, boost::bind (&Pannable::control_auto_state_changed, this, _1));
}
Pannable::~Pannable ()
{
DEBUG_TRACE (DEBUG::Destruction, string_compose ("pannable @ %1 destructor\n", this));
}
void
Pannable::control_auto_state_changed (AutoState new_state)
{