Fix Windows build

main
SherlockNoMad 9 years ago
parent 501927ffc4
commit 58ecd91326
  1. 2
      utilities/backupable/backupable_db.cc

@ -1616,7 +1616,7 @@ Status BackupEngineImpl::BackupMeta::LoadFromFile(
std::string abs_path = backup_dir + "/" + filename; std::string abs_path = backup_dir + "/" + filename;
try { try {
size = abs_path_to_size.at(abs_path); size = abs_path_to_size.at(abs_path);
} catch (std::out_of_range& e) { } catch (std::out_of_range&) {
return Status::NotFound("Size missing for pathname: " + abs_path); return Status::NotFound("Size missing for pathname: " + abs_path);
} }
} }

Loading…
Cancel
Save