[Java] Fixed a compile error.

This commit is contained in:
Yueh-Hsuan Chiang 2014-04-24 15:37:27 -07:00
parent 05979493d6
commit 3e0b93b5da

View File

@ -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;
}