diff --git a/td/telegram/DialogDb.h b/td/telegram/DialogDb.h index f5d51b43a..d2332d1a8 100644 --- a/td/telegram/DialogDb.h +++ b/td/telegram/DialogDb.h @@ -65,4 +65,4 @@ std::shared_ptr create_dialog_db_sync( std::shared_ptr create_dialog_db_async(std::shared_ptr sync_db, int32 scheduler_id); -}; // namespace td +} // namespace td diff --git a/td/telegram/Global.h b/td/telegram/Global.h index 4c5cf6b2c..55b6ad602 100644 --- a/td/telegram/Global.h +++ b/td/telegram/Global.h @@ -51,7 +51,7 @@ class TempAuthKeyWatchdog; class TopDialogManager; class UpdatesManager; class WebPagesManager; -}; // namespace td +} // namespace td namespace td { diff --git a/td/telegram/MessagesDb.h b/td/telegram/MessagesDb.h index e3e3e1f3a..71676ead2 100644 --- a/td/telegram/MessagesDb.h +++ b/td/telegram/MessagesDb.h @@ -166,4 +166,4 @@ std::shared_ptr create_messages_db_sync( std::shared_ptr create_messages_db_async(std::shared_ptr sync_db, int32 scheduler_id); -}; // namespace td +} // namespace td diff --git a/td/telegram/net/AuthDataShared.h b/td/telegram/net/AuthDataShared.h index 027aa80ed..d6df6dd59 100644 --- a/td/telegram/net/AuthDataShared.h +++ b/td/telegram/net/AuthDataShared.h @@ -75,4 +75,4 @@ class AuthDataShared { std::shared_ptr guard); }; -}; // namespace td +} // namespace td diff --git a/td/telegram/net/DcId.h b/td/telegram/net/DcId.h index 4d9c1a70f..74346672e 100644 --- a/td/telegram/net/DcId.h +++ b/td/telegram/net/DcId.h @@ -103,4 +103,4 @@ inline StringBuilder &operator<<(StringBuilder &sb, const DcId &dc_id) { return sb; } -}; // namespace td +} // namespace td diff --git a/td/telegram/net/DcOptions.h b/td/telegram/net/DcOptions.h index c4242cc64..aac0fc474 100644 --- a/td/telegram/net/DcOptions.h +++ b/td/telegram/net/DcOptions.h @@ -241,4 +241,4 @@ inline StringBuilder &operator<<(StringBuilder &sb, const DcOptions &dc_options) return sb << "DcOptions" << format::as_array(dc_options.dc_options); } -}; // namespace td +} // namespace td diff --git a/tddb/td/db/Pmc.h b/tddb/td/db/Pmc.h index 9fd0c8202..e64910773 100644 --- a/tddb/td/db/Pmc.h +++ b/tddb/td/db/Pmc.h @@ -17,4 +17,4 @@ using BinlogPmcBase = BinlogKeyValue; using BinlogPmc = std::shared_ptr; using BinlogPmcPtr = BinlogPmcBase *; -}; // namespace td +} // namespace td diff --git a/tddb/td/db/binlog/Binlog.h b/tddb/td/db/binlog/Binlog.h index 603c0ffb0..41631f09c 100644 --- a/tddb/td/db/binlog/Binlog.h +++ b/tddb/td/db/binlog/Binlog.h @@ -34,7 +34,7 @@ namespace detail { class BinlogReader; class BinlogEventsProcessor; class BinlogEventsBuffer; -}; // namespace detail +} // namespace detail class Binlog { public: diff --git a/tddb/td/db/detail/RawSqliteDb.h b/tddb/td/db/detail/RawSqliteDb.h index 801f3b192..a3a064884 100644 --- a/tddb/td/db/detail/RawSqliteDb.h +++ b/tddb/td/db/detail/RawSqliteDb.h @@ -14,6 +14,7 @@ struct sqlite3; namespace td { namespace detail { + class RawSqliteDb { public: RawSqliteDb(sqlite3 *db, std::string path) : db_(db), path_(std::move(path)) { @@ -47,5 +48,6 @@ class RawSqliteDb { sqlite3 *db_; std::string path_; }; -}; // namespace detail + +} // namespace detail } // namespace td diff --git a/tdtl/td/tl/tl_simple.h b/tdtl/td/tl/tl_simple.h index bf4801f1e..1fc797094 100644 --- a/tdtl/td/tl/tl_simple.h +++ b/tdtl/td/tl/tl_simple.h @@ -46,7 +46,7 @@ struct Type { // type == Vector const Type *vector_value_type{nullptr}; -}; // namespace simple +}; struct Arg { const Type *type; diff --git a/test/tdclient.cpp b/test/tdclient.cpp index 85e851627..da88ef0d7 100644 --- a/test/tdclient.cpp +++ b/test/tdclient.cpp @@ -836,4 +836,4 @@ class Tdclient_login : public td::Test { }; //Tdclient_login Tdclient_login("Tdclient_login"); -}; // namespace td +} // namespace td