comparison OrthancServer/ServerIndex.cpp @ 1757:98abb8d7f905 db-changes

ServerContext::Apply lookup
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 28 Oct 2015 12:29:12 +0100
parents 3a4f7dc00f49
children 613df4362575
comparison
equal deleted inserted replaced
1756:03b030680e3d 1757:98abb8d7f905
2115 } 2115 }
2116 2116
2117 2117
2118 void ServerIndex::FindCandidates(std::vector<std::string>& resources, 2118 void ServerIndex::FindCandidates(std::vector<std::string>& resources,
2119 std::vector<std::string>& instances, 2119 std::vector<std::string>& instances,
2120 ::Orthanc::LookupResource& lookup) 2120 const ::Orthanc::LookupResource& lookup)
2121 { 2121 {
2122 boost::mutex::scoped_lock lock(mutex_); 2122 boost::mutex::scoped_lock lock(mutex_);
2123 2123
2124 std::list<int64_t> tmp; 2124 std::list<int64_t> tmp;
2125 lookup.FindCandidates(tmp, db_); 2125 lookup.FindCandidates(tmp, db_);