Mercurial > hg > orthanc
comparison OrthancServer/Plugins/Engine/OrthancPlugins.cpp @ 5328:84150c5227f8
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sun, 25 Jun 2023 18:40:19 +0200 |
parents | fbe857e942cd |
children | 808319c1e22b |
comparison
equal
deleted
inserted
replaced
5327:f01c06f75d67 | 5328:84150c5227f8 |
---|---|
2517 size_t size) | 2517 size_t size) |
2518 { | 2518 { |
2519 Setup(buffer, size); | 2519 Setup(buffer, size); |
2520 } | 2520 } |
2521 | 2521 |
2522 DicomInstanceFromBuffer(const std::string& buffer) | 2522 explicit DicomInstanceFromBuffer(const std::string& buffer) |
2523 { | 2523 { |
2524 Setup(buffer.empty() ? NULL : buffer.c_str(), buffer.size()); | 2524 Setup(buffer.empty() ? NULL : buffer.c_str(), buffer.size()); |
2525 } | 2525 } |
2526 | 2526 |
2527 virtual bool CanBeFreed() const ORTHANC_OVERRIDE | 2527 virtual bool CanBeFreed() const ORTHANC_OVERRIDE |