зеркало из https://github.com/mozilla/gecko-dev.git
Bug 858680, Prevent unused variable warning on opt builds, r=bustage.
--HG-- extra : rebase_source : abec6bc1896d17d07abe3a885861002c5762d6ef
This commit is contained in:
Родитель
3925a960aa
Коммит
5fdcf72f12
|
@ -8170,20 +8170,24 @@ struct QuotaClient::MultipleMaintenanceInfo final
|
|||
: MaintenanceInfoBase(aGroup, aOrigin, aPersistenceType)
|
||||
, mDatabasePaths(Move(aDatabasePaths))
|
||||
{
|
||||
#ifdef DEBUG
|
||||
MOZ_ASSERT(!mDatabasePaths.IsEmpty());
|
||||
for (const nsString& databasePath : mDatabasePaths) {
|
||||
MOZ_ASSERT(!databasePath.IsEmpty());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
MultipleMaintenanceInfo(MultipleMaintenanceInfo&& aOther)
|
||||
: MaintenanceInfoBase(Move(aOther))
|
||||
, mDatabasePaths(Move(aOther.mDatabasePaths))
|
||||
{
|
||||
#ifdef DEBUG
|
||||
MOZ_ASSERT(!mDatabasePaths.IsEmpty());
|
||||
for (const nsString& databasePath : mDatabasePaths) {
|
||||
MOZ_ASSERT(!databasePath.IsEmpty());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
MultipleMaintenanceInfo(const MultipleMaintenanceInfo& aOther) = delete;
|
||||
|
|
Загрузка…
Ссылка в новой задаче