diff options
| author | levlam <levlam@telegram.org> | 2019-01-07 03:17:11 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2019-01-07 03:17:11 +0300 |
| commit | a062fa4f0cc7c9740ecc19cc5c452f08d0eb7395 (patch) | |
| tree | 223349fc3c203f8f7d2bfed4e36f40d557436528 /benchmark/bench_tddb.cpp | |
| parent | 9bdc13e89f07101d5d268006d6b5b9503e64d946 (diff) | |
Forward-declare SqliteConnectionSafe and SqliteDb. Finally, all DB usages are private.
GitOrigin-RevId: 63d904c6ba9e3896f46ce8844e328f77c7e50553
Diffstat (limited to 'benchmark/bench_tddb.cpp')
| -rw-r--r-- | benchmark/bench_tddb.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmark/bench_tddb.cpp b/benchmark/bench_tddb.cpp index 48c81e9c7..d997c523b 100644 --- a/benchmark/bench_tddb.cpp +++ b/benchmark/bench_tddb.cpp @@ -13,6 +13,8 @@ #include "td/actor/actor.h" #include "td/actor/PromiseFuture.h" +#include "td/db/SqliteConnectionSafe.h" + #include "td/utils/benchmark.h" #include "td/utils/buffer.h" #include "td/utils/common.h" @@ -77,7 +79,7 @@ class MessagesDbBench : public Benchmark { } private: - td::unique_ptr<td::ConcurrentScheduler> scheduler_; + td::unique_ptr<ConcurrentScheduler> scheduler_; std::shared_ptr<SqliteConnectionSafe> sql_connection_; std::shared_ptr<MessagesDbSyncSafeInterface> messages_db_sync_safe_; std::shared_ptr<MessagesDbAsyncInterface> messages_db_async_; |
