changeset 6404:3da6afe03965

cppcheck: stlcstrAssignment
author Alain Mazy <am@orthanc.team>
date Thu, 13 Nov 2025 06:11:29 +0100
parents 18a70fb61b91
children f2662c222e04
files OrthancServer/Sources/DicomInstanceOrigin.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/Sources/DicomInstanceOrigin.cpp	Thu Nov 13 06:10:43 2025 +0100
+++ b/OrthancServer/Sources/DicomInstanceOrigin.cpp	Thu Nov 13 06:11:29 2025 +0100
@@ -121,7 +121,7 @@
   {
     if (origin_ == RequestOrigin_DicomProtocol)
     {
-      result = dicomRemoteAet_.c_str();
+      result = dicomRemoteAet_;
       return true;
     }
     else