# HG changeset patch # User Alain Mazy # Date 1762794150 -3600 # Node ID 442b50f930aeb6928bf3e35fbe4d3d0d88773658 # Parent debcddfb57f0a2f4d1bd02d9110078db350a889d cppcheck: useInitializationList diff -r debcddfb57f0 -r 442b50f930ae OrthancServer/Plugins/Samples/ModalityWorklists/Plugin.cpp --- 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