diff --git a/faiss/IndexReplicas.cpp b/faiss/IndexReplicas.cpp index 8295f34a60..85f3fda746 100644 --- a/faiss/IndexReplicas.cpp +++ b/faiss/IndexReplicas.cpp @@ -201,7 +201,7 @@ void IndexReplicasTemplate::syncWithSubIndexes() { } // explicit instantiations -template struct IndexReplicasTemplate; -template struct IndexReplicasTemplate; +template class IndexReplicasTemplate; +template class IndexReplicasTemplate; } // namespace faiss