Skip to content

Commit 3e0b93b

Browse files
committed
[Java] Fixed a compile error.
1 parent 0597949 commit 3e0b93b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/org/rocksdb/RocksDB.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static RocksDB open(String path) throws RocksDBException {
3636
// the c++ one.
3737
Options options = new Options();
3838
db.open(options.nativeHandle_, options.cacheSize_, path);
39-
db.transferCppRawPointersOwnership(options);
39+
db.transferCppRawPointersOwnershipFrom(options);
4040
options.dispose();
4141
return db;
4242
}

0 commit comments

Comments
 (0)