summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-02-10 12:18:36 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-02-10 15:40:20 -0800
commita9e0c1b99a0489c6bc192c0681fa1dfc6e565bbe (patch)
tree47364446cdaad61fb1a9fd90ad5662646524801e /src
parentdb3620c58f0c3351e26b0e3bcfd23ff414f829a1 (diff)
downloadqtlocation-mapboxgl-a9e0c1b99a0489c6bc192c0681fa1dfc6e565bbe.tar.gz
[core] Eliminate maximumCacheEntrySize
Instead, the eviction policy accounts for the actual size needed for an incoming put.
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/util/constants.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mbgl/util/constants.cpp b/src/mbgl/util/constants.cpp
index 047d7f3bd6..90a4d28c2f 100644
--- a/src/mbgl/util/constants.cpp
+++ b/src/mbgl/util/constants.cpp
@@ -30,7 +30,6 @@ const double MIN_ZOOM = 0.0;
const double MAX_ZOOM = 25.5;
const uint64_t DEFAULT_MAX_CACHE_SIZE = 50 * 1024 * 1024;
-const uint64_t DEFAULT_MAX_CACHE_ENTRY_SIZE = std::numeric_limits<uint64_t>::max();
} // namespace util