Mercurial > hg > orthanc-stone
changeset 517:64ee3033e1ca bgo-commands-codegen
dummy dtor to check proper deletion
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 12 Mar 2019 08:51:35 +0100 |
parents | 11fa6f00e33c |
children | 40bb5eb247a5 |
files | Framework/Toolbox/DicomFrameConverter.h |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Toolbox/DicomFrameConverter.h Tue Mar 12 08:51:15 2019 +0100 +++ b/Framework/Toolbox/DicomFrameConverter.h Tue Mar 12 08:51:35 2019 +0100 @@ -59,6 +59,17 @@ SetDefaultParameters(); } + ~DicomFrameConverter() + { + // TODO: check whether this dtor is called or not + // An MSVC warning explains that declaring an + // std::auto_ptr with a forward-declared type + // prevents its dtor from being called. Does not + // seem an issue here (only POD types inside), but + // definitely something to keep an eye on. + (void)0; + } + Orthanc::PixelFormat GetExpectedPixelFormat() const { return expectedPixelFormat_;