[core] Remove unused libuv includes

This commit is contained in:
Thiago Marcos P. Santos
2015-08-31 14:40:09 +03:00
parent ff47838474
commit d515f84caf
9 changed files with 6 additions and 10 deletions

View File

@@ -1,6 +1,5 @@
#include <mbgl/mbgl.hpp>
#include <mbgl/util/default_styles.hpp>
#include <mbgl/util/uv.hpp>
#include <mbgl/platform/log.hpp>
#include <mbgl/platform/platform.hpp>
#include <mbgl/platform/default/settings_json.hpp>

View File

@@ -1,7 +1,6 @@
#include <mbgl/platform/platform.hpp>
#include <mbgl/android/jni.hpp>
#include <uv.h>
#include <libgen.h>
namespace mbgl {

View File

@@ -6,8 +6,8 @@
#include <mbgl/storage/response.hpp>
#include <mbgl/util/exception.hpp>
#include <mbgl/util/thread_context.hpp>
#include <mbgl/util/run_loop.hpp>
#include <cassert>
#include <string>
#include <sstream>

View File

@@ -1,14 +1,12 @@
#include <mbgl/style/class_dictionary.hpp>
#include <uv.h>
#include <pthread.h>
namespace mbgl {
ClassDictionary::ClassDictionary() {}
ClassDictionary &ClassDictionary::Get() {
// Note: We should eventually switch to uv_key_* functions, but libuv 0.10 doesn't have these
// yet. Instead, we're using the pthread functions directly for now.
static pthread_once_t store_once = PTHREAD_ONCE_INIT;
static pthread_key_t store_key;

View File

@@ -3,6 +3,8 @@
#include <mbgl/text/glyph_pbf.hpp>
#include <mbgl/util/thread_context.hpp>
#include <cassert>
namespace mbgl {
void GlyphStore::requestGlyphRange(const std::string& fontStackName, const GlyphRange& range) {

View File

@@ -4,6 +4,8 @@
#include <mbgl/geometry/vao.hpp>
#include <mbgl/platform/gl.hpp>
#include <cassert>
namespace mbgl {
namespace util {

View File

@@ -3,7 +3,6 @@
#include <mbgl/platform/log.hpp>
#include <mbgl/util/raster.hpp>
#include <mbgl/util/uv_detail.hpp>
#include <cassert>
#include <cstring>

View File

@@ -9,8 +9,6 @@
#include <mutex>
typedef struct uv_loop_s uv_loop_t;
namespace mbgl {
class Raster : public std::enable_shared_from_this<Raster> {

View File

@@ -1,5 +1,4 @@
#include <mbgl/util/time.hpp>
#include <mbgl/util/uv_detail.hpp>
#include <cstdio>