[autotests/unit/engine] Fix memory issues in tests
- Don't leak PostingIterators by wrapping them with unique_ptr - Avoid potential detaching of Qt containers by wrapping them with std::as_const
Please register or sign in to comment
- Don't leak PostingIterators by wrapping them with unique_ptr - Avoid potential detaching of Qt containers by wrapping them with std::as_const