string: Make _time_detail() static

Signed-off-by: Anna Schumaker <Anna@OcarinaProject.net>
This commit is contained in:
Anna Schumaker 2015-01-30 10:54:03 -05:00
parent 3f423fb3ae
commit f7eb34c2af
1 changed files with 3 additions and 2 deletions

View File

@ -29,8 +29,9 @@ const std::string string :: sec2str(unsigned int sec)
return ss.str();
}
const std::string _time_detail(unsigned int value, unsigned int remaining,
const std::string &field)
static const std::string _time_detail(unsigned int value,
unsigned int remaining,
const std::string &field)
{
std::string res;