comparison OrthancServer/ParsedDicomFile.cpp @ 1520:4a503a8c7749

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Aug 2015 13:26:42 +0200
parents 8bd0d897763f
children 3606278d305e
comparison
equal deleted inserted replaced
1519:8bd0d897763f 1520:4a503a8c7749
299 return length_; 299 return length_;
300 } 300 }
301 301
302 virtual bool ReadNextChunk() 302 virtual bool ReadNextChunk()
303 { 303 {
304 assert(offset_ < length_); 304 assert(offset_ <= length_);
305 305
306 if (offset_ == length_) 306 if (offset_ == length_)
307 { 307 {
308 return false; 308 return false;
309 } 309 }