From eaac0044b572c953b085f9292ab0c012388bb130 Mon Sep 17 00:00:00 2001 From: paboyle Date: Mon, 12 Jun 2017 00:20:49 +0100 Subject: [PATCH] Compile fixes --- lib/parallelIO/IldgIO.h | 2 +- lib/parallelIO/MetaData.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/parallelIO/IldgIO.h b/lib/parallelIO/IldgIO.h index 237edf43..df840fb2 100644 --- a/lib/parallelIO/IldgIO.h +++ b/lib/parallelIO/IldgIO.h @@ -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 ////////////////////////////////////////////////////////////////// diff --git a/lib/parallelIO/MetaData.h b/lib/parallelIO/MetaData.h index e91371b8..85a6e0b9 100644 --- a/lib/parallelIO/MetaData.h +++ b/lib/parallelIO/MetaData.h @@ -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;