Fix signature of backend change function

This commit is contained in:
Louis Dureuil
2025-09-01 16:38:39 +02:00
parent a8cc66899c
commit a989f52657

View File

@ -119,10 +119,10 @@ impl VectorStore {
&mut self,
wtxn: &mut RwTxn,
progress: Progress,
must_stop_processing: MSP,
must_stop_processing: &MSP,
) -> crate::Result<()>
where
MSP: Fn() -> bool + Sync + Send,
MSP: Fn() -> bool + Sync,
{
if self.backend == VectorStoreBackend::Arroy {
self.backend = VectorStoreBackend::Hannoy;