mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-09 21:22:05 +01:00
static overloads of Track::SharedPointer when null check is needed...
... Some optimizing compilers don't let us get away with null check on this in a nonstatic member function.
This commit is contained in:
@@ -97,7 +97,7 @@ void SelectionState::ChangeSelectionOnShiftClick
|
||||
|
||||
// Our track was earlier than the first. Extend from the last.
|
||||
if( !pExtendFrom )
|
||||
pExtendFrom = (*trackRange.rbegin())->SharedPointer();
|
||||
pExtendFrom = Track::SharedPointer( *trackRange.rbegin() );
|
||||
}
|
||||
|
||||
SelectNone( tracks );
|
||||
|
||||
Reference in New Issue
Block a user