diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-03-04 15:14:19 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-03-04 15:15:10 -0800 |
commit | 55c5c3c8910878cbd1b365467a95f12791306b9d (patch) | |
tree | eab057f523a0c906c1ed374b94496c6ece32d074 /bin/offline.cpp | |
parent | eb9b4638417ddfb519cd278f25ad022500a9573a (diff) | |
download | qtlocation-mapboxgl-55c5c3c8910878cbd1b365467a95f12791306b9d.tar.gz |
[bin] Print message when tile count limit is exceeded
Diffstat (limited to 'bin/offline.cpp')
-rw-r--r-- | bin/offline.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/offline.cpp b/bin/offline.cpp index c03149d2f5..a6a135df5f 100644 --- a/bin/offline.cpp +++ b/bin/offline.cpp @@ -93,6 +93,10 @@ int main(int argc, char *argv[]) { std::cerr << error.reason << " downloading resource: " << error.message << std::endl; } + void mapboxTileCountLimitExceeded(uint64_t limit) override { + std::cerr << "Error: reached limit of " << limit << " offline tiles" << std::endl; + } + util::RunLoop& loop; SystemTimePoint start; }; |