Przeglądaj źródła

Replace "> >" with ">>"

PiperOrigin-RevId: 250383036
ld
Victor Costan 5 lat temu
committed by Chris Mumford
rodzic
commit
72a38ff7f2
2 zmienionych plików z 4 dodań i 4 usunięć
  1. +3
    -3
      db/version_edit.h
  2. +1
    -1
      util/arena_test.cc

+ 3
- 3
db/version_edit.h Wyświetl plik

@ -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 Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz