aboutsummaryrefslogtreecommitdiffhomepage
path: root/tddb
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2021-10-21 12:51:16 +0300
committerlevlam <levlam@telegram.org>2021-10-21 12:51:16 +0300
commit9f44816a6211fdefc8261d7b8a3f670575ca6df7 (patch)
treece060fb9d5bd3605245cb2cbe151721245e8db4a /tddb
parent1ebf835ac56aebb2631d30cecd58fa4fcf7c970d (diff)
Minor improvements.
Diffstat (limited to 'tddb')
-rw-r--r--tddb/td/db/SqliteConnectionSafe.cpp1
-rw-r--r--tddb/td/db/TQueue.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/tddb/td/db/SqliteConnectionSafe.cpp b/tddb/td/db/SqliteConnectionSafe.cpp
index de39ce95e..6fa0a78e6 100644
--- a/tddb/td/db/SqliteConnectionSafe.cpp
+++ b/tddb/td/db/SqliteConnectionSafe.cpp
@@ -9,7 +9,6 @@
#include "td/utils/common.h"
#include "td/utils/format.h"
#include "td/utils/logging.h"
-#include "td/utils/port/Stat.h"
namespace td {
diff --git a/tddb/td/db/TQueue.h b/tddb/td/db/TQueue.h
index 8e84ae9a9..7e37eb6ce 100644
--- a/tddb/td/db/TQueue.h
+++ b/tddb/td/db/TQueue.h
@@ -54,9 +54,9 @@ class TQueue {
struct Event {
EventId id;
+ int32 expires_at{0};
Slice data;
int64 extra{0};
- int32 expires_at{0};
};
struct RawEvent {