comparison OrthancServer/DicomInstanceToStore.cpp @ 1005:84b6d7bca6db lua-scripting

refactoring of ServerContext::Store
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 08 Jul 2014 14:34:11 +0200
parents a226e0959d8b
children 6e7e5ed91c2d
comparison
equal deleted inserted replaced
1004:a226e0959d8b 1005:84b6d7bca6db
92 // memory buffer, but that its summary or its JSON version is 92 // memory buffer, but that its summary or its JSON version is
93 // missing 93 // missing
94 94
95 if (!parsed_.HasContent()) 95 if (!parsed_.HasContent())
96 { 96 {
97 parsed_.TakeOwnership(new ParsedDicomFile(buffer_.GetContent())); 97 parsed_.TakeOwnership(new ParsedDicomFile(buffer_.GetConstContent()));
98 } 98 }
99 99
100 // At this point, we have parsed the DICOM file 100 // At this point, we have parsed the DICOM file
101 101
102 if (!summary_.HasContent()) 102 if (!summary_.HasContent())