diff --git a/hnswlib/hnswlib.h b/hnswlib/hnswlib.h index 1e67a8be..393dbd8d 100644 --- a/hnswlib/hnswlib.h +++ b/hnswlib/hnswlib.h @@ -1,5 +1,7 @@ #pragma once +// This allows others to provide their own error stream. +// See RcppHNSW for a use case. #ifndef HNSWLIB_ERR_OVERRIDE #define HNSWERR std::cerr #else