[Java] Fixed a compile error.

main
Yueh-Hsuan Chiang 11 years ago
parent 05979493d6
commit 3e0b93b5da
  1. 2
      java/org/rocksdb/RocksDB.java

@ -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…
Cancel
Save