We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17ef9d3 commit 0912989Copy full SHA for 0912989
hnswlib/hnswlib.h
@@ -502,7 +502,7 @@ class ChunkedArray {
502
}
503
504
505
- void copyFrom(char* source, size_t num_bytes) {
+ void copyFrom(const char* source, size_t num_bytes) {
506
size_t chunk_index = 0;
507
size_t bytes_per_chunk = getSizePerChunk();
508
while (num_bytes > 0) {
0 commit comments