[Java] Fixed a compile error.
This commit is contained in:
parent
05979493d6
commit
3e0b93b5da
@ -36,7 +36,7 @@ public class RocksDB {
|
||||
// the c++ one.
|
||||
Options options = new Options();
|
||||
db.open(options.nativeHandle_, options.cacheSize_, path);
|
||||
db.transferCppRawPointersOwnership(options);
|
||||
db.transferCppRawPointersOwnershipFrom(options);
|
||||
options.dispose();
|
||||
return db;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user