Skip to content

Commit

Permalink
[Java] Fixed a compile error.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhchiang committed Apr 24, 2014
1 parent 0597949 commit 3e0b93b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/org/rocksdb/RocksDB.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static RocksDB open(String path) throws RocksDBException {
// the c++ one.
Options options = new Options();
db.open(options.nativeHandle_, options.cacheSize_, path);
db.transferCppRawPointersOwnership(options);
db.transferCppRawPointersOwnershipFrom(options);
options.dispose();
return db;
}
Expand Down

0 comments on commit 3e0b93b

Please sign in to comment.