comparison OrthancServer/Sources/Search/DatabaseLookup.cpp @ 4981:d0c34145320c

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 25 Apr 2022 17:32:58 +0200
parents dad71e6da406
children 01934fc29d43
comparison
equal deleted inserted replaced
4980:8b95fc86b8d9 4981:d0c34145320c
332 for (size_t i = 0; i < constraints_.size(); i++) 332 for (size_t i = 0; i < constraints_.size(); i++)
333 { 333 {
334 assert(constraints_[i] != NULL); 334 assert(constraints_[i] != NULL);
335 if (constraints_[i]->GetTag() == tag) 335 if (constraints_[i]->GetTag() == tag)
336 { 336 {
337 constraint = constraints_.at(i); 337 constraint = constraints_[i];
338 return true; 338 return true;
339 } 339 }
340 } 340 }
341 341
342 return false; 342 return false;