Mercurial > hg > orthanc
changeset 6378:442b50f930ae
cppcheck: useInitializationList
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Mon, 10 Nov 2025 18:02:30 +0100 |
| parents | debcddfb57f0 |
| children | de5d2b6cdda8 |
| files | OrthancServer/Plugins/Samples/ModalityWorklists/Plugin.cpp |
| diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/ModalityWorklists/Plugin.cpp Mon Nov 10 18:00:46 2025 +0100 +++ b/OrthancServer/Plugins/Samples/ModalityWorklists/Plugin.cpp Mon Nov 10 18:02:30 2025 +0100 @@ -76,12 +76,11 @@ Worklist(const std::string& id, const Json::Value& jsonWl) : - id_(id) + id_(id), + createdAt_ = jsonWl["CreatedAt"].asString() { - createdAt_ = jsonWl["CreatedAt"].asString(); std::string b64DicomContent = jsonWl["Dicom"].asString(); Orthanc::Toolbox::DecodeBase64(dicomContent_, b64DicomContent); - } void Serialize(std::string& target) const
