reciever hdf5 compiling error fixed

This commit is contained in:
2018-11-02 14:31:36 +01:00
parent 742d4e6cb7
commit 833f0c164c
2 changed files with 4 additions and 3 deletions

View File

@ -143,8 +143,9 @@ public:
static void CloseVirtualDataFile(hid_t& fd) static void CloseVirtualDataFile(hid_t& fd)
{ {
if(fd) { if(fd) {
if (H5Fclose(fd) < 0 ) if (H5Fclose(fd) < 0 ) {
FILE_LOG(logERROR) << "Could not close virtual HDF5 handles"; FILE_LOG(logERROR) << "Could not close virtual HDF5 handles";
}
fd = 0; fd = 0;
} }
} }
@ -810,7 +811,7 @@ public:
} else if (datatype == PredType::STD_U8LE) { } else if (datatype == PredType::STD_U8LE) {
FILE_LOG(logINFO) << "datatype:8"; FILE_LOG(logINFO) << "datatype:8";
} else { } else {
FILE_LOG(logERROR) << "Unknown datatype: " << datetype; FILE_LOG(logERROR) << "Unknown datatype: " << datatype;
return 1; return 1;
} }
FILE_LOG(logINFO) << "owenable:" << (owenable?1:0) << std::endl FILE_LOG(logINFO) << "owenable:" << (owenable?1:0) << std::endl

View File

@ -451,7 +451,7 @@ void slsReceiverImplementation::setFileFormat(const fileFormat f) {
for(const auto& it : dataProcessor) for(const auto& it : dataProcessor)
it->SetFileFormat(f); it->SetFileFormat(f);
FILE_LOG(logINFO) << "File Format:" << getFileFormatType(fileFormatType); FILE_LOG(logINFO) << "File Format: " << getFileFormatType(fileFormatType);
} }