1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-27 04:21:16 +02:00

* --max-freed: support values >= 4 GB.

This commit is contained in:
Eelco Dolstra 2008-06-18 15:20:33 +00:00
parent d3aa183beb
commit 5af84139a8
4 changed files with 12 additions and 3 deletions

View file

@ -1020,6 +1020,14 @@ bool string2Int(const string & s, int & n)
}
bool string2Int(const string & s, long long & n)
{
std::istringstream str(s);
str >> n;
return str && str.get() == EOF;
}
void ignoreException()
{
try {