Mercurial > hg > orthanc
diff OrthancFramework/Sources/FileStorage/FileInfo.cpp @ 4519:a3c6678aa7b1
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 22 Feb 2021 16:51:23 +0100 |
parents | 3b4940bca158 |
children | 7053502fbf97 |
line wrap: on
line diff
--- a/OrthancFramework/Sources/FileStorage/FileInfo.cpp Mon Feb 22 16:32:11 2021 +0100 +++ b/OrthancFramework/Sources/FileStorage/FileInfo.cpp Mon Feb 22 16:51:23 2021 +0100 @@ -27,6 +27,16 @@ namespace Orthanc { + FileInfo::FileInfo() : + valid_(false), + contentType_(FileContentType_Unknown), + uncompressedSize_(0), + compressionType_(CompressionType_None), + compressedSize_(0) + { + } + + FileInfo::FileInfo(const std::string& uuid, FileContentType contentType, uint64_t size,