Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Compression/ZipReader.cpp @ 4356:18c94a82f3d4
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Dec 2020 12:55:32 +0100 |
parents | 460a71988208 |
children | 074f37013186 |
comparison
equal
deleted
inserted
replaced
4355:460a71988208 | 4356:18c94a82f3d4 |
---|---|
56 size_(size), | 56 size_(size), |
57 pos_(0) | 57 pos_(0) |
58 { | 58 { |
59 } | 59 } |
60 | 60 |
61 MemoryBuffer(const std::string& s) : | 61 explicit MemoryBuffer(const std::string& s) : |
62 content_(s.empty() ? NULL : reinterpret_cast<const uint8_t*>(s.c_str())), | 62 content_(s.empty() ? NULL : reinterpret_cast<const uint8_t*>(s.c_str())), |
63 size_(s.size()), | 63 size_(s.size()), |
64 pos_(0) | 64 pos_(0) |
65 { | 65 { |
66 } | 66 } |