diff --git a/tools/ldb_cmd.cc b/tools/ldb_cmd.cc index ee2a651d8f..dcc03347b8 100644 --- a/tools/ldb_cmd.cc +++ b/tools/ldb_cmd.cc @@ -123,7 +123,7 @@ void DumpSstFile(Options options, std::string filename, bool output_hex, void DumpBlobFile(const std::string& filename, bool is_key_hex, bool is_value_hex, bool dump_uncompressed_blobs); -}; // namespace +} // namespace LDBCommand* LDBCommand::InitFromCmdLineArgs( int argc, char const* const* argv, const Options& options, diff --git a/utilities/transactions/snapshot_checker.cc b/utilities/transactions/snapshot_checker.cc index da363a12fb..fa94502cb9 100644 --- a/utilities/transactions/snapshot_checker.cc +++ b/utilities/transactions/snapshot_checker.cc @@ -14,7 +14,7 @@ namespace ROCKSDB_NAMESPACE { WritePreparedSnapshotChecker::WritePreparedSnapshotChecker( WritePreparedTxnDB* txn_db) - : txn_db_(txn_db){}; + : txn_db_(txn_db){} SnapshotCheckerResult WritePreparedSnapshotChecker::CheckInSnapshot( SequenceNumber sequence, SequenceNumber snapshot_sequence) const {