2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Use empty Storage::Cache::Key as nullopt.

This commit is contained in:
John Preston
2020-05-20 16:28:18 +04:00
parent 581a21dbd9
commit fb322b5fc5
20 changed files with 71 additions and 68 deletions

View File

@@ -966,7 +966,7 @@ void Image::loadEvenCancelled(Data::FileOrigin origin) {
}
}
std::optional<Storage::Cache::Key> Image::cacheKey() const {
Storage::Cache::Key Image::cacheKey() const {
return _source->cacheKey();
}