summaryrefslogtreecommitdiff
path: root/src/mbgl/util/thread_context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/thread_context.cpp')
-rw-r--r--src/mbgl/util/thread_context.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mbgl/util/thread_context.cpp b/src/mbgl/util/thread_context.cpp
index 4853388661..a60f2c9ab5 100644
--- a/src/mbgl/util/thread_context.cpp
+++ b/src/mbgl/util/thread_context.cpp
@@ -44,22 +44,6 @@ ThreadPriority ThreadContext::getPriority() {
}
}
-FileSource* ThreadContext::getFileSource() {
- if (current.get() != nullptr) {
- return current.get()->fileSource;
- } else {
- return nullptr;
- }
-}
-
-void ThreadContext::setFileSource(FileSource* fileSource) {
- if (current.get() != nullptr) {
- current.get()->fileSource = fileSource;
- } else {
- throw std::runtime_error("Current thread has no current ThreadContext.");
- }
-}
-
gl::GLObjectStore* ThreadContext::getGLObjectStore() {
if (current.get() != nullptr) {
return current.get()->glObjectStore;