1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 04:00:59 +01:00

Small fix

This commit is contained in:
Wouter den Breejen 2007-05-21 21:56:34 +00:00
parent 5cac336820
commit 802d7f40bd
6 changed files with 26 additions and 12 deletions

View file

@ -966,5 +966,13 @@ bool string2Int(const string & s, int & n)
return str && str.get() == EOF;
}
string bool2string(const bool b)
{
if(b == true)
return "true";
else
return "false";
}
}