File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
include/svs/orchestrators Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -322,8 +322,8 @@ class DynamicVamana : public manager::IndexManager<DynamicVamanaInterface> {
322322 typename ThreadPoolProto>
323323 static DynamicVamana assemble (
324324 const std::filesystem::path& config_path,
325- const GraphLoader& graph_loader,
326- const DataLoader& data_loader,
325+ GraphLoader& & graph_loader,
326+ DataLoader& & data_loader,
327327 const Distance& distance,
328328 ThreadPoolProto threadpool_proto,
329329 bool debug_load_from_static = false
@@ -333,8 +333,8 @@ class DynamicVamana : public manager::IndexManager<DynamicVamanaInterface> {
333333 manager::as_typelist<QueryTypes>(),
334334 index::vamana::auto_dynamic_assemble (
335335 config_path,
336- graph_loader,
337- data_loader,
336+ std::forward<GraphLoader>( graph_loader) ,
337+ std::forward<DataLoader>( data_loader) ,
338338 distance,
339339 threads::as_threadpool (std::move (threadpool_proto)),
340340 debug_load_from_static
You can’t perform that action at this time.
0 commit comments