This makes it more explicit the list of files is now owned by the
Indexer runnable.
Details
Details
- Reviewers
poboiko - Group Reviewers
Baloo Frameworks
make
Diff Detail
Diff Detail
- Repository
- R293 Baloo
- Branch
- indexer_cleanup
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 3825 Build 3843: arc lint + arc unit
Comment Actions
Does not work as wanted, as the compiler squeezes in a QStringList copy construction and the moves the temporary. Afterwards the temporary is empty(), but the filelist is not.
Comment Actions
auto runnable = new NewFileIndexer(m_db, m_config, std::exchange(m_newFiles, {})); would work, but that is C++14