summaryrefslogtreecommitdiff
path: root/src/mbgl/text/glyph_store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/glyph_store.cpp')
-rw-r--r--src/mbgl/text/glyph_store.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mbgl/text/glyph_store.cpp b/src/mbgl/text/glyph_store.cpp
index 1c75f7191e..cd960dd8e2 100644
--- a/src/mbgl/text/glyph_store.cpp
+++ b/src/mbgl/text/glyph_store.cpp
@@ -1,7 +1,5 @@
#include <mbgl/text/glyph_store.hpp>
-
#include <mbgl/text/glyph_pbf.hpp>
-#include <mbgl/util/thread_context.hpp>
#include <cassert>
@@ -14,8 +12,6 @@ GlyphStore::GlyphStore(FileSource& fileSource_)
GlyphStore::~GlyphStore() = default;
void GlyphStore::requestGlyphRange(const std::string& fontStackName, const GlyphRange& range) {
- assert(util::ThreadContext::currentlyOn(util::ThreadType::Map));
-
std::lock_guard<std::mutex> lock(rangesMutex);
auto& rangeSets = ranges[fontStackName];