diff --git a/metrics/eye.cpp b/metrics/eye.cpp index edb5500575..69fe068d62 100644 --- a/metrics/eye.cpp +++ b/metrics/eye.cpp @@ -34,7 +34,9 @@ void Load(Info & info) std::vector infoFileData; std::vector mapObjectsFileData; - if (!Storage::LoadInfo(infoFileData) && !Storage::LoadMapObjects(mapObjectsFileData)) + auto const isInfoLoaded = Storage::LoadInfo(infoFileData); + auto const isMapObjectsLoaded = Storage::LoadMapObjects(mapObjectsFileData); + if (!isInfoLoaded && !isMapObjectsLoaded) { info = {}; return;