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:
@@ -280,7 +280,7 @@ void AButton::SetAlternateIdx(unsigned idx)
|
||||
|
||||
void AButton::FollowModifierKeys()
|
||||
{
|
||||
if(!mListener.get())
|
||||
if(!mListener)
|
||||
mListener.reset(new Listener(this));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user