summaryrefslogtreecommitdiff
path: root/src/mbgl/text
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-11-12 15:51:45 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-11-16 12:25:47 -0800
commit7137239cbddb13e1c33240d13002973b5a222775 (patch)
tree99ad3ca2d8b5230eba3f5bacefe63098568dbdd4 /src/mbgl/text
parent1caf89c32b80dc300b1fd349a2ece4557890c727 (diff)
downloadqtlocation-mapboxgl-7137239cbddb13e1c33240d13002973b5a222775.tar.gz
[core] Use std::unique_ptr for FileSource request
Diffstat (limited to 'src/mbgl/text')
-rw-r--r--src/mbgl/text/glyph_pbf.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mbgl/text/glyph_pbf.hpp b/src/mbgl/text/glyph_pbf.hpp
index bf8567dbec..69d7747471 100644
--- a/src/mbgl/text/glyph_pbf.hpp
+++ b/src/mbgl/text/glyph_pbf.hpp
@@ -3,17 +3,17 @@
#include <mbgl/text/glyph.hpp>
#include <mbgl/util/noncopyable.hpp>
-#include <mbgl/storage/request_holder.hpp>
#include <atomic>
#include <functional>
#include <string>
+#include <memory>
namespace mbgl {
class GlyphStore;
class FontStack;
-class Request;
+class FileRequest;
class GlyphPBF : private util::noncopyable {
public:
@@ -45,7 +45,7 @@ private:
std::shared_ptr<const std::string> data;
std::atomic<bool> parsed;
- RequestHolder req;
+ std::unique_ptr<FileRequest> req;
Observer* observer = nullptr;
};