Skip to content

Commit eda4fb3

Browse files
committed
fix compile error when building with -Dsingle-threaded
1 parent ae7ad39 commit eda4fb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DocumentStore.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ pub fn loadTrigramStores(self: *DocumentStore) error{OutOfMemory}![]*DocumentSto
997997
for (self.handles.values()) |handle| {
998998
_ = try handle.getTrigramStore();
999999
}
1000-
return;
1000+
return try self.allocator.dupe(*DocumentStore.Handle, self.handles.values());
10011001
}
10021002

10031003
const handles = handles: {

0 commit comments

Comments
 (0)