fix headless tests

This commit is contained in:
Konstantin Käfer
2014-09-30 17:28:42 +02:00
parent a9039cf5d7
commit 8fcc74e253
11 changed files with 104 additions and 104 deletions

View File

@@ -58,7 +58,7 @@ namespace mbgl {
SQLiteStore::SQLiteStore(uv_loop_t *loop, const std::string &path)
: thread_id(uv_thread_self()),
db(!path.empty() ? std::make_shared<Database>(path.c_str(), ReadWrite | Create) : nullptr) {
db(std::make_shared<Database>(path.c_str(), ReadWrite | Create)) {
createSchema();
worker = new uv_worker_t;
uv_worker_init(worker, loop, 1, "SQLite");