Browse Source

Replace "> >" with ">>"

PiperOrigin-RevId: 250383036
baseline
Victor Costan 5 years ago
committed by Chris Mumford
parent
commit
72a38ff7f2
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      db/version_edit.h
  2. +1
    -1
      util/arena_test.cc

+ 3
- 3
db/version_edit.h View File

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

+ 1
- 1
util/arena_test.cc View File

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

Loading…
Cancel
Save