comparison OrthancServer/Sources/ResourceFinder.cpp @ 5714:2b05428843d2 find-refactoring

removed dangerous overload of ResourceFinder::Execute()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 13 Jul 2024 00:20:33 +0200
parents d851a54e49b7
children 717acb0ea546
comparison
equal deleted inserted replaced
5713:d851a54e49b7 5714:2b05428843d2
889 } 889 }
890 } 890 }
891 } 891 }
892 892
893 893
894 void ResourceFinder::Execute(FindResponse& response,
895 ServerIndex& index) const
896 {
897 index.ExecuteFind(response, request_);
898 }
899
900
901 void ResourceFinder::Execute(IVisitor& visitor, 894 void ResourceFinder::Execute(IVisitor& visitor,
902 ServerContext& context) const 895 ServerContext& context) const
903 { 896 {
904 FindResponse response; 897 FindResponse response;
905 context.GetIndex().ExecuteFind(response, request_); 898 context.GetIndex().ExecuteFind(response, request_);