Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
yihuang committed Mar 22, 2023
1 parent c56eb4f commit 1219854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options_read.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func (opts *ReadOptions) GetIOTimeout() uint64 {
//
// Default: false
func (opts *ReadOptions) SetAsyncIO(b bool) {
return uint64(C.rocksdb_readoptions_set_async_io(opts.c, boolToChar(b)))
C.rocksdb_readoptions_set_async_io(opts.c, boolToChar(b))
}

// GetAsyncIO gets the current async_io option.
Expand Down

0 comments on commit 1219854

Please sign in to comment.