comparison Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 3963:3b0c555f16a3

fix msvc2008
author s.jodogne@gmail.com
date Thu, 21 May 2020 10:47:58 +0200
parents 0b59e2706366
children bf35c4628777
comparison
equal deleted inserted replaced
3962:d30eb4ae5bb6 3963:3b0c555f16a3
1179 return OrthancPluginGetInstanceData(GetGlobalContext(), instance_); 1179 return OrthancPluginGetInstanceData(GetGlobalContext(), instance_);
1180 } 1180 }
1181 1181
1182 size_t GetSize() const 1182 size_t GetSize() const
1183 { 1183 {
1184 return OrthancPluginGetInstanceSize(GetGlobalContext(), instance_); 1184 return static_cast<size_t>(OrthancPluginGetInstanceSize(GetGlobalContext(), instance_));
1185 } 1185 }
1186 1186
1187 void GetJson(Json::Value& target) const; 1187 void GetJson(Json::Value& target) const;
1188 1188
1189 void GetSimplifiedJson(Json::Value& target) const; 1189 void GetSimplifiedJson(Json::Value& target) const;