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:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user