mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
Small fix
This commit is contained in:
parent
5cac336820
commit
802d7f40bd
6 changed files with 26 additions and 12 deletions
|
|
@ -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";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue