1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-08-07 07:39:29 +02:00

Fix error in const overload of ClientData::Site::FindIf

This commit is contained in:
Paul Licameli 2020-01-15 11:03:43 -05:00
parent 6b9c8e79cc
commit e3e75705a6

View File

@ -373,7 +373,7 @@ protected:
const auto &ptr = Dereferenceable(pObject); const auto &ptr = Dereferenceable(pObject);
if ( ptr ) { if ( ptr ) {
const auto &c_ref = *ptr; const auto &c_ref = *ptr;
if ( function( c_ref ) ); if ( function( c_ref ) )
return &*c_ref; return &*c_ref;
} }
} }