Skip to content

Commit 166dd56

Browse files
committed
fix compile error when building with -Dsingle-threaded
1 parent bc0c9b3 commit 166dd56

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
@@ -972,7 +972,7 @@ pub fn loadTrigramStores(self: *DocumentStore) error{OutOfMemory}![]*DocumentSto
972972
for (self.handles.values()) |handle| {
973973
_ = try handle.getTrigramStore();
974974
}
975-
return;
975+
return try self.allocator.dupe(*DocumentStore.Handle, self.handles.values());
976976
}
977977

978978
const handles = handles: {

0 commit comments

Comments
 (0)