Remove BasicUI default constructor

Towards stronger lifetime guarantees, in particular the validity of _session.

I was expecting this to be a whole ordeal, but... compiler says no.
This commit is contained in:
David Robillard 2021-06-15 15:38:42 -04:00
parent 6dfb04c4da
commit b58c22c1be
2 changed files with 0 additions and 6 deletions

View file

@ -48,11 +48,6 @@ BasicUI::BasicUI (Session& s)
{ {
} }
BasicUI::BasicUI ()
: _session (0)
{
}
BasicUI::~BasicUI () BasicUI::~BasicUI ()
{ {

View file

@ -155,7 +155,6 @@ class LIBCONTROLCP_API BasicUI {
bool loop_button_onoff() const; bool loop_button_onoff() const;
protected: protected:
BasicUI ();
ARDOUR::Session* _session; ARDOUR::Session* _session;
}; };