Do not force uv_loop_t as the first parameter for a threaded object ctor

This commit is contained in:
Thiago Marcos P. Santos
2015-07-01 08:48:11 +03:00
parent f6b8dd4be9
commit ec1b4c43fd
12 changed files with 25 additions and 33 deletions

View File

@@ -3,8 +3,6 @@
#include <mbgl/storage/sqlite_cache.hpp>
typedef struct uv_loop_s uv_loop_t;
namespace mapbox {
namespace sqlite {
class Database;
@@ -16,7 +14,7 @@ namespace mbgl {
class SQLiteCache::Impl {
public:
Impl(uv_loop_t*, const std::string &path = ":memory:");
Impl(const std::string &path = ":memory:");
~Impl();
void get(const Resource&, Callback);