mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 20:56:28 +01:00
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:
parent
6dfb04c4da
commit
b58c22c1be
2 changed files with 0 additions and 6 deletions
|
|
@ -48,11 +48,6 @@ BasicUI::BasicUI (Session& s)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
BasicUI::BasicUI ()
|
|
||||||
: _session (0)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
BasicUI::~BasicUI ()
|
BasicUI::~BasicUI ()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue