mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Plumbing: Attempt at fixing the Cygwin missing std::to_string function.
This commit is contained in:
parent
8a0bffc5b3
commit
10eeb2566f
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ template<typename T>
|
||||||
const std::string format (int fmt_num, const std::string& fmt, T arg)
|
const std::string format (int fmt_num, const std::string& fmt, T arg)
|
||||||
{
|
{
|
||||||
std::string output = fmt;
|
std::string output = fmt;
|
||||||
replace_positional (output, "{" + std::to_string(fmt_num) + "}", format (arg));
|
replace_positional (output, "{" + format (fmt_num) + "}", format (arg));
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue