summaryrefslogtreecommitdiff
path: root/src/mbgl
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-01-13 16:47:36 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-01-14 13:46:03 -0800
commit2aafdbc1b84192d9a51ff7f5f9d9830e0951bb2a (patch)
treeb43c6d0bbb86988628c611f21ba7d2cc15340c40 /src/mbgl
parent2ee1fe41786742332d190b01e28ba88a72c59f43 (diff)
downloadqtlocation-mapboxgl-2aafdbc1b84192d9a51ff7f5f9d9830e0951bb2a.tar.gz
[core] Add an explicit "not modified" indicator to Response
Diffstat (limited to 'src/mbgl')
-rw-r--r--src/mbgl/storage/response.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/storage/response.cpp b/src/mbgl/storage/response.cpp
index 4b1125c110..b42fb211c8 100644
--- a/src/mbgl/storage/response.cpp
+++ b/src/mbgl/storage/response.cpp
@@ -10,6 +10,7 @@ Response::Response(const Response& res) {
Response& Response::operator=(const Response& res) {
error = res.error ? std::make_unique<Error>(*res.error) : nullptr;
stale = res.stale;
+ notModified = res.notModified;
data = res.data;
modified = res.modified;
expires = res.expires;