1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-04 19:25:56 +01:00

Compile fixes

This commit is contained in:
paboyle 2017-06-12 00:20:49 +01:00
parent 56042f002c
commit eaac0044b5
2 changed files with 3 additions and 3 deletions

View File

@ -242,7 +242,7 @@ class IldgIO : public BinaryIO {
while ( limeReaderNextRecord(LimeR) == LIME_SUCCESS ) {
uint64_t nbytes = limeReaderBytes(LimeR);//size of this record (configuration)
//////////////////////////////////////////////////////////////////
// If not BINARY_DATA read a string and parse
//////////////////////////////////////////////////////////////////

View File

@ -103,9 +103,9 @@ namespace Grid {
// When
std::time_t t = std::time(nullptr);
std::tm tm = *std::localtime(&t);
std::tm tm_ = *std::localtime(&t);
std::ostringstream oss;
oss << std::put_time(&tm, "%c %Z");
// oss << std::put_time(&tm_, "%c %Z");
header.creation_date = oss.str();
header.archive_date = header.creation_date;