string: Make _time_detail() static
Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
parent
3f423fb3ae
commit
f7eb34c2af
|
@ -29,8 +29,9 @@ const std::string string :: sec2str(unsigned int sec)
|
||||||
return ss.str();
|
return ss.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string _time_detail(unsigned int value, unsigned int remaining,
|
static const std::string _time_detail(unsigned int value,
|
||||||
const std::string &field)
|
unsigned int remaining,
|
||||||
|
const std::string &field)
|
||||||
{
|
{
|
||||||
std::string res;
|
std::string res;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue