mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 16:30:56 +00:00
Fix ms version Appveyor build error
This commit is contained in:
parent
d27ea4c9e5
commit
b4efaebff0
|
@ -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