diff options
Diffstat (limited to 'include/mbgl/storage/response.hpp')
-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 2460f4340d..32fe4e0c8a 100644 --- a/include/mbgl/storage/response.hpp +++ b/include/mbgl/storage/response.hpp @@ -35,7 +35,7 @@ public: optional<std::string> etag; bool isFresh() const { - return !expires || *expires > util::now(); + return expires ? *expires > util::now() : !error; } }; |