From 9bdc13e89f07101d5d268006d6b5b9503e64d946 Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 7 Jan 2019 02:49:49 +0300 Subject: [PATCH] Forward declare Binlog in TdDb. GitOrigin-RevId: 24ba74bc79bf1dc8fc35fceacd377809a3b4323b --- td/telegram/TdDb.cpp | 1 + td/telegram/TdDb.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/td/telegram/TdDb.cpp b/td/telegram/TdDb.cpp index f4a0be39..60dec784 100644 --- a/td/telegram/TdDb.cpp +++ b/td/telegram/TdDb.cpp @@ -15,6 +15,7 @@ #include "td/actor/MultiPromise.h" +#include "td/db/binlog/Binlog.h" #include "td/db/binlog/ConcurrentBinlog.h" #include "td/db/BinlogKeyValue.h" #include "td/db/SqliteKeyValue.h" diff --git a/td/telegram/TdDb.h b/td/telegram/TdDb.h index be2ff1bb..0faa6a77 100644 --- a/td/telegram/TdDb.h +++ b/td/telegram/TdDb.h @@ -8,7 +8,6 @@ #include "td/telegram/TdParameters.h" -#include "td/db/binlog/Binlog.h" #include "td/db/binlog/BinlogInterface.h" #include "td/db/binlog/BinlogEvent.h" #include "td/db/DbKey.h" @@ -24,6 +23,7 @@ namespace td { +class Binlog; template class BinlogKeyValue; class ConcurrentBinlog;