comparison OrthancServer/Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 4133:36c30a95bc3f

cppcheck on OrthancPluginCppWrapper.h
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 08 Jul 2020 14:25:11 +0200
parents 4bb7522a63e0
children cbce4f43884a
comparison
equal deleted inserted replaced
4132:298216fce500 4133:36c30a95bc3f
1156 OrthancPluginDicomInstance* instance_; 1156 OrthancPluginDicomInstance* instance_;
1157 #endif 1157 #endif
1158 1158
1159 public: 1159 public:
1160 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 6, 1) 1160 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 6, 1)
1161 DicomInstance(const OrthancPluginDicomInstance* instance); 1161 explicit DicomInstance(const OrthancPluginDicomInstance* instance);
1162 #else 1162 #else
1163 DicomInstance(OrthancPluginDicomInstance* instance); 1163 explicit DicomInstance(OrthancPluginDicomInstance* instance);
1164 #endif 1164 #endif
1165 1165
1166 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 7, 0) 1166 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 7, 0)
1167 DicomInstance(const void* buffer, 1167 DicomInstance(const void* buffer,
1168 size_t size); 1168 size_t size);