diff options
author | Julian Rex <julian.rex@mapbox.com> | 2019-03-21 11:48:55 -0400 |
---|---|---|
committer | Julian Rex <julian.rex@mapbox.com> | 2019-03-21 11:48:55 -0400 |
commit | 22aae911f957818f182ef1607569ec8f67e57078 (patch) | |
tree | 2c29c089d0c24b3929d06211ec2055665114a6d4 | |
parent | 8c87ca252201d8f7df120c928f008d18cfd956af (diff) | |
download | qtlocation-mapboxgl-22aae911f957818f182ef1607569ec8f67e57078.tar.gz |
Change "complete" so existing packs created before https://github.com/mapbox/mapbox-gl-native/pull/11055 can be marked as complete.
-rw-r--r-- | include/mbgl/storage/offline.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/storage/offline.hpp b/include/mbgl/storage/offline.hpp index b3d258a7e3..f884c8b465 100644 --- a/include/mbgl/storage/offline.hpp +++ b/include/mbgl/storage/offline.hpp @@ -153,7 +153,7 @@ public: bool requiredResourceCountIsPrecise = false; bool complete() const { - return completedResourceCount == requiredResourceCount; + return completedResourceCount >= requiredResourceCount; } }; |