From 5173bf1bb8d21054b0dd6251d23eb37323d6c525 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Fri, 16 Oct 2015 16:14:55 +0200 Subject: [core] Make response data shared to avoid excessive copying --- include/mbgl/storage/response.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mbgl/storage/response.hpp') diff --git a/include/mbgl/storage/response.hpp b/include/mbgl/storage/response.hpp index b232cd06f4..6390426030 100644 --- a/include/mbgl/storage/response.hpp +++ b/include/mbgl/storage/response.hpp @@ -18,7 +18,7 @@ public: int64_t modified = 0; int64_t expires = 0; std::string etag; - std::string data; + std::shared_ptr data; }; } -- cgit v1.2.1