# HG changeset patch # User Alain Mazy # Date 1762948114 -3600 # Node ID 526d7182093a31c9e45e9feae535709cce36cddb # Parent cb0aeb02f56bd57774ee719fae7e2625ec9efae2 cppcheck: returnByReference diff -r cb0aeb02f56b -r 526d7182093a OrthancFramework/Sources/DicomFormat/DicomIntegerPixelAccessor.h --- a/OrthancFramework/Sources/DicomFormat/DicomIntegerPixelAccessor.h Wed Nov 12 12:47:42 2025 +0100 +++ b/OrthancFramework/Sources/DicomFormat/DicomIntegerPixelAccessor.h Wed Nov 12 12:48:34 2025 +0100 @@ -51,7 +51,7 @@ const void* pixelData, size_t size); - const DicomImageInformation GetInformation() const + const DicomImageInformation& GetInformation() const { return information_; }