mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-01 17:38:43 +01:00
Make const overload of ClientData::Site::ForEach usable
This commit is contained in:
@@ -416,7 +416,12 @@ private:
|
||||
{
|
||||
return Locked< DataContainer >{ mData };
|
||||
}
|
||||
|
||||
|
||||
Locked<const DataContainer> GetData() const
|
||||
{
|
||||
return Locked< const DataContainer >{ mData };
|
||||
}
|
||||
|
||||
static void EnsureIndex( Locked<DataContainer> &data, size_t index )
|
||||
{
|
||||
if (data.mObject.size() <= index)
|
||||
|
||||
Reference in New Issue
Block a user