Bläddra i källkod

Replace "> >" with ">>"

PiperOrigin-RevId: 250383036
master
Victor Costan 5 år sedan
committed by Chris Mumford
förälder
incheckning
72a38ff7f2
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. +3
    -3
      db/version_edit.h
  2. +1
    -1
      util/arena_test.cc

+ 3
- 3
db/version_edit.h Visa fil

@ -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 Visa fil

@ -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;

Laddar…
Avbryt
Spara