fix missing ~other_tag, remove some warings

This commit is contained in:
Jinhao
2016-06-25 06:00:40 +08:00
parent d701650cd5
commit 4a6331e625
5 changed files with 5 additions and 4 deletions

View File

@@ -449,7 +449,7 @@ namespace std
//template< >
std::string put_time/*<char, std::string>*/(const std::tm* tmb, const char* fmt)
{
unsigned sz = 200;
std::size_t sz = 200;
std::string str(sz, '\0');
sz = std::strftime(&str[0], str.size() - 1, fmt, tmb);
str.resize(sz);