diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-03 17:35:06 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-02-10 15:40:20 -0800 |
commit | 7eb1a91c4e5134ecfbfb91b61a6622be40478af5 (patch) | |
tree | f017137f503ad7ce528b1bcb12f5df35bb319413 /include/mbgl/storage | |
parent | cdedb66387065680efd318dacb61572c920b81b1 (diff) | |
download | qtlocation-mapboxgl-7eb1a91c4e5134ecfbfb91b61a6622be40478af5.tar.gz |
[all] Do not set Response data for 404s
For AssetFileSource and the node FileSource this was already the case; this makes the other implementations consistent.
Diffstat (limited to 'include/mbgl/storage')
-rw-r--r-- | include/mbgl/storage/response.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/storage/response.hpp b/include/mbgl/storage/response.hpp index a44902e1f9..278fce1dfe 100644 --- a/include/mbgl/storage/response.hpp +++ b/include/mbgl/storage/response.hpp @@ -23,7 +23,7 @@ public: // This is set to true for 304 Not Modified responses. bool notModified = false; - // The actual data of the response. This is null if notModified is true. + // The actual data of the response. Present only for non-error, non-notModified responses. std::shared_ptr<const std::string> data; optional<SystemTimePoint> modified; |