瀏覽代碼

Replace "> >" with ">>"

PiperOrigin-RevId: 250383036
main
Victor Costan 5 年之前
committed by Chris Mumford
父節點
當前提交
72a38ff7f2
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. +3
    -3
      db/version_edit.h
  2. +1
    -1
      util/arena_test.cc

+ 3
- 3
db/version_edit.h 查看文件

@ -83,7 +83,7 @@ class VersionEdit {
private:
friend class VersionSet;
typedef std::set<std::pair<int, uint64_t> > DeletedFileSet;
typedef std::set<std::pair<int, uint64_t>> DeletedFileSet;
std::string comparator_;
uint64_t log_number_;
@ -96,9 +96,9 @@ class VersionEdit {
bool has_next_file_number_;
bool has_last_sequence_;
std::vector<std::pair<int, InternalKey> > compact_pointers_;
std::vector<std::pair<int, InternalKey>> compact_pointers_;
DeletedFileSet deleted_files_;
std::vector<std::pair<int, FileMetaData> > new_files_;
std::vector<std::pair<int, FileMetaData>> new_files_;
};
} // namespace leveldb

+ 1
- 1
util/arena_test.cc 查看文件

@ -14,7 +14,7 @@ class ArenaTest {};
TEST(ArenaTest, Empty) { Arena arena; }
TEST(ArenaTest, Simple) {
std::vector<std::pair<size_t, char*> > allocated;
std::vector<std::pair<size_t, char*>> allocated;
Arena arena;
const int N = 100000;
size_t bytes = 0;

Loading…
取消
儲存