delete
This commit is contained in:
@@ -7,11 +7,14 @@ namespace details {
|
||||
namespace os {
|
||||
std::tm localtime(const std::time_t &time_t)
|
||||
{
|
||||
#ifdef _MSC_VER
|
||||
|
||||
std::tm tm;
|
||||
#ifdef _MSC_VER
|
||||
localtime_s(&tm, &time_t);
|
||||
return tm;
|
||||
#else
|
||||
localtime_r(&time_t, &tm);
|
||||
#endif
|
||||
return tm;
|
||||
}
|
||||
|
||||
std::tm localtime()
|
||||
@@ -21,4 +24,4 @@ std::tm localtime()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user