Fix Reset() calls from crashing.

Properly resets the unique_ptr instead of just reassigning them.

Bug: 193052798
Test: presubmit
Change-Id: I93e12579d3244d8243eb5f56860dee82d00b4ad7
2 files changed
tree: f5a066d90c489bfd8d2d084700f20cf9b138aee8
  1. icing/
  2. java/
  3. nativeLib/
  4. proto/
  5. .gitignore
  6. Android.bp
  7. AndroidManifest.xml
  8. build.gradle
  9. CMakeLists.txt
  10. CONTRIBUTING.md
  11. LICENSE
  12. METADATA
  13. MODULE_LICENSE_APACHE2
  14. README.md
  15. synced_AOSP_CL_number.txt
  16. TEST_MAPPING
README.md

Icing Search Library

Icing is a fast, embedded, mobile-friendly full-text-search library written in C++.

This is not an officially supported Google product.