From f25bcd8d702cd33530be1aaf6744356fd522da95 Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 18 Jul 2018 04:30:29 +0300 Subject: [PATCH] Remove unnecessary semicolons after namespace end. GitOrigin-RevId: bf290001b072fd390fe2cada06722a3b90309cca --- td/telegram/DialogDb.h | 2 +- td/telegram/Global.h | 2 +- td/telegram/MessagesDb.h | 2 +- td/telegram/net/AuthDataShared.h | 2 +- td/telegram/net/DcId.h | 2 +- td/telegram/net/DcOptions.h | 2 +- tddb/td/db/Pmc.h | 2 +- tddb/td/db/binlog/Binlog.h | 2 +- tddb/td/db/detail/RawSqliteDb.h | 4 +++- tdtl/td/tl/tl_simple.h | 2 +- test/tdclient.cpp | 2 +- 11 files changed, 13 insertions(+), 11 deletions(-) diff --git a/td/telegram/DialogDb.h b/td/telegram/DialogDb.h index f5d51b43..d2332d1a 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 4c5cf6b2..55b6ad60 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 e3e3e1f3..71676ead 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 027aa80e..d6df6dd5 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 4d9c1a70..74346672 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 c4242cc6..aac0fc47 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 9fd0c820..e6491077 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 603c0ffb..41631f09 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 801f3b19..a3a06488 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 bf4801f1..1fc79709 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 85e85162..da88ef0d 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