Sfoglia il codice sorgente

Change std::uint64_t to uint64_t (#354)

-This fixes compile errors with default setup on RHEL 6 systems.
main
Nicholas Westlake 8 anni fa
committed by Chris Mumford
parent
commit
ea992b467b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      db/recovery_test.cc

+ 2
- 2
db/recovery_test.cc Vedi File

@ -104,10 +104,10 @@ class RecoveryTest {
return GetFiles(kLogFile)[0]; return GetFiles(kLogFile)[0];
} }
std::vector<std::uint64_t> GetFiles(FileType t) {
std::vector<uint64_t> GetFiles(FileType t) {
std::vector<std::string> filenames; std::vector<std::string> filenames;
ASSERT_OK(env_->GetChildren(dbname_, &filenames)); ASSERT_OK(env_->GetChildren(dbname_, &filenames));
std::vector<std::uint64_t> result;
std::vector<uint64_t> result;
for (size_t i = 0; i < filenames.size(); i++) { for (size_t i = 0; i < filenames.size(); i++) {
uint64_t number; uint64_t number;
FileType type; FileType type;

Caricamento…
Annulla
Salva