Merge pull request #1025 from SherlockNoMad/BuildFix

Fix Windows build
This commit is contained in:
Igor Canadi 2016-03-03 15:24:25 -08:00
commit 451678c8c9

View File

@ -1616,7 +1616,7 @@ Status BackupEngineImpl::BackupMeta::LoadFromFile(
std::string abs_path = backup_dir + "/" + filename;
try {
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);
}
}