mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-30 04:41:49 +00:00
Merge pull request #860 from SherlockNoMad/BuildFix
Fix ms version Appveyor build error
This commit is contained in:
commit
4a009f9172
|
@ -1459,9 +1459,9 @@ bool ParseStrToUint64(const std::string& str, uint64_t* out) {
|
|||
unsigned long ul = std::stoul(str);
|
||||
*out = static_cast<uint64_t>(ul);
|
||||
return true;
|
||||
} catch (const std::invalid_argument& e) {
|
||||
} catch (const std::invalid_argument&) {
|
||||
return false;
|
||||
} catch (const std::out_of_range& e) {
|
||||
} catch (const std::out_of_range&) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue