diff options
author | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-06-14 15:03:13 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <tmpsantos@gmail.com> | 2019-06-17 19:56:18 +0300 |
commit | 0c00405e2bbfc943451a286fecbc39606643e3b3 (patch) | |
tree | 9c155a4a34e54c7322ca6e4fb8c1a1f320751525 /platform/glfw/glfw_view.hpp | |
parent | 241f5e0415776ecde981612b4fe30a3463f669cc (diff) | |
download | qtlocation-mapboxgl-0c00405e2bbfc943451a286fecbc39606643e3b3.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 'platform/glfw/glfw_view.hpp')
-rw-r--r-- | platform/glfw/glfw_view.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/glfw/glfw_view.hpp b/platform/glfw/glfw_view.hpp index 3322932dde..9c9661546c 100644 --- a/platform/glfw/glfw_view.hpp +++ b/platform/glfw/glfw_view.hpp @@ -41,7 +41,7 @@ public: } void setResetCacheCallback(std::function<void()> callback) { - resetCacheCallback = callback; + resetDatabaseCallback = callback; }; void setShouldClose(); @@ -125,7 +125,7 @@ private: std::function<void()> changeStyleCallback; std::function<void()> pauseResumeCallback; std::function<void()> onlineStatusCallback; - std::function<void()> resetCacheCallback; + std::function<void()> resetDatabaseCallback; std::function<void(mbgl::Map*)> animateRouteCallback; mbgl::util::RunLoop runLoop; |