1
0
Fork 0

gcc 4.8 does not entail std::put_time

This commit is contained in:
Kaveh Vahedipour 2016-04-01 15:22:08 +02:00
parent 1dba990295
commit a3d8ce9cab
1 changed files with 2 additions and 2 deletions

View File

@ -598,7 +598,7 @@ void Store::clearTimeTable () {
void Store::dumpToBuilder (Builder& builder) const {
MUTEX_LOCKER(storeLocker, _storeLock);
toBuilder(builder);
{
/* {
VPackObjectBuilder guard(&builder);
for (auto const& i : _time_table) {
auto in_time_t = std::chrono::system_clock::to_time_t(i.first);
@ -615,7 +615,7 @@ void Store::dumpToBuilder (Builder& builder) const {
ss << std::put_time(std::localtime(&in_time_t), "%Y-%m-%d %X");
builder.add(std::to_string((size_t)i.first.get()), VPackValue(ss.str()));
}
}
}*/
}
bool Store::start () {