summaryrefslogtreecommitdiff
path: root/include/mbgl
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-06-14 15:03:13 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-06-18 16:26:51 +0300
commit59e7b9a8780e282cf90ede7ae8e3b1affe1e684e (patch)
treee5f7fd8a74f4a9495d872acdcdf4eb2b44f123f2 /include/mbgl
parent9beb740fb747e721b6a678bbe63399c70e132881 (diff)
downloadqtlocation-mapboxgl-59e7b9a8780e282cf90ede7ae8e3b1affe1e684e.tar.gz
[core] Rename resetCache to resetDatabase
Avoid confusion about what is being reset. In this case, the whole database and not only the ambient cache.
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/storage/default_file_source.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/storage/default_file_source.hpp b/include/mbgl/storage/default_file_source.hpp
index 130f4f1022..6a63007a96 100644
--- a/include/mbgl/storage/default_file_source.hpp
+++ b/include/mbgl/storage/default_file_source.hpp
@@ -192,7 +192,7 @@ public:
* executed on the database thread; it is the responsibility of the SDK bindings
* to re-execute a user-provided callback on the main thread.
*/
- void resetCache(std::function<void (std::exception_ptr)>);
+ void resetDatabase(std::function<void (std::exception_ptr)>);
/*
* Forces revalidation of tiles in the ambient cache.