comparison Applications/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApplication.h @ 1573:32e0c007789d

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2020 18:28:34 +0200
parents b4ccd4963d37
children 4fb8fdf03314
comparison
equal deleted inserted replaced
1572:1b3039384972 1573:32e0c007789d
189 189
190 WebViewerLoaders(ILoadersContext& context, 190 WebViewerLoaders(ILoadersContext& context,
191 IWebViewerLoadersObserver* observer) : 191 IWebViewerLoadersObserver* observer) :
192 context_(context), 192 context_(context),
193 observer_(observer), 193 observer_(observer),
194 loadThumbnails_(false) 194 loadThumbnails_(false),
195 { 195 loadedSeries_(boost::make_shared<LoadedDicomResources>(Orthanc::DICOM_TAG_SERIES_INSTANCE_UID)),
196 loadedSeries_ = boost::make_shared<LoadedDicomResources>(Orthanc::DICOM_TAG_SERIES_INSTANCE_UID); 196 loadedStudies_(boost::make_shared<LoadedDicomResources>(Orthanc::DICOM_TAG_STUDY_INSTANCE_UID))
197 loadedStudies_ = boost::make_shared<LoadedDicomResources>(Orthanc::DICOM_TAG_STUDY_INSTANCE_UID); 197 {
198 } 198 }
199 199
200 static Orthanc::IDynamicObject* CreatePayload(Type type) 200 static Orthanc::IDynamicObject* CreatePayload(Type type)
201 { 201 {
202 return new Orthanc::SingleValueObject<Type>(type); 202 return new Orthanc::SingleValueObject<Type>(type);