1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-25 23:55:52 +01:00

auto_ptr (deprecated) -> unique_ptr (preferred in C++11)

This commit is contained in:
Paul Licameli
2016-02-05 20:27:09 -05:00
parent 9019df832f
commit daa7617e88
9 changed files with 16 additions and 16 deletions

View File

@@ -280,7 +280,7 @@ void AButton::SetAlternateIdx(unsigned idx)
void AButton::FollowModifierKeys()
{
if(!mListener.get())
if(!mListener)
mListener.reset(new Listener(this));
}