Replace 0 constant with nullptr in getCurrentStorage()

This commit is contained in:
Peter Bozsó 2016-05-28 19:52:56 +02:00 committed by Alexander Tkachev
parent 6f35fc4272
commit f4dfaed19d

View file

@ -97,7 +97,7 @@ void Manager::addStorage(Cloud::Storage *storage, bool makeCurrent, bool saveCon
Storage *Manager::getCurrentStorage() {
if (_currentStorageIndex < _storages.size())
return _storages[_currentStorageIndex];
return 0;
return nullptr;
}
void Manager::syncSaves(Storage::BoolCallback callback) {