summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Rex <julian.rex@mapbox.com>2019-03-21 11:48:55 -0400
committerJulian Rex <julian.rex@mapbox.com>2019-03-21 11:48:55 -0400
commit22aae911f957818f182ef1607569ec8f67e57078 (patch)
tree2c29c089d0c24b3929d06211ec2055665114a6d4
parent8c87ca252201d8f7df120c928f008d18cfd956af (diff)
downloadqtlocation-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.hpp2
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;
}
};