comparison Applications/StoneWebViewer/WebAssembly/StoneWebViewer.cpp @ 1814:53f3411bf94b

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 May 2021 15:52:38 +0200
parents 53aa3f72b539
children b81775f1b196
comparison
equal deleted inserted replaced
1813:53aa3f72b539 1814:53f3411bf94b
1249 1249
1250 void Save(const std::string& sopInstanceUid, 1250 void Save(const std::string& sopInstanceUid,
1251 size_t frame, 1251 size_t frame,
1252 const OrthancStone::AnnotationsSceneLayer& layer) 1252 const OrthancStone::AnnotationsSceneLayer& layer)
1253 { 1253 {
1254 std::unique_ptr<Json::Value> serialized; 1254 std::unique_ptr<Json::Value> serialized(new Json::Value);
1255 layer.Serialize(*serialized); 1255 layer.Serialize(*serialized);
1256 1256
1257 const Index index(sopInstanceUid, frame); 1257 const Index index(sopInstanceUid, frame);
1258 1258
1259 Content::iterator found = content_.find(index); 1259 Content::iterator found = content_.find(index);