Merge pull request #860 from SherlockNoMad/BuildFix

Fix ms version Appveyor build error
main
Siying Dong 9 years ago
commit 4a009f9172
  1. 4
      utilities/backupable/backupable_db.cc

@ -1459,9 +1459,9 @@ bool ParseStrToUint64(const std::string& str, uint64_t* out) {
unsigned long ul = std::stoul(str); unsigned long ul = std::stoul(str);
*out = static_cast<uint64_t>(ul); *out = static_cast<uint64_t>(ul);
return true; return true;
} catch (const std::invalid_argument& e) { } catch (const std::invalid_argument&) {
return false; return false;
} catch (const std::out_of_range& e) { } catch (const std::out_of_range&) {
return false; return false;
} }
} }

Loading…
Cancel
Save