Fixed crash when adding new words to incremental FLANN (after some were removed from the dictionnary and deleted when transferring to database)

This commit is contained in:
matlabbe
2015-10-15 14:08:30 -04:00
parent 78164c9770
commit a8b5311d88
3 changed files with 67 additions and 4 deletions

View File

@@ -203,6 +203,16 @@ public:
return size_ - removed_count_;
}
inline size_t removedCount() const
{
return removed_count_;
}
inline size_t sizeAtBuild() const
{
return size_at_build_;
}
/**
* @return The dimensionality of the features in this index.
*/