mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-08-09 13:59:50 +00:00
Fix wrong assertion.
This commit is contained in:
parent
56735c9d86
commit
f6c638e6e4
1 changed files with 2 additions and 2 deletions
|
@ -259,7 +259,7 @@ namespace din {
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
assert(m_local_data->done_count == m_local_data->paths.size());
|
assert(m_local_data->done_count == m_local_data->file_count);
|
||||||
#else
|
#else
|
||||||
hash_dir(
|
hash_dir(
|
||||||
m_local_data->paths.begin(),
|
m_local_data->paths.begin(),
|
||||||
|
@ -279,7 +279,7 @@ namespace din {
|
||||||
|
|
||||||
void Indexer::add_to_db (const std::string& parSetName, char parType) const {
|
void Indexer::add_to_db (const std::string& parSetName, char parType) const {
|
||||||
#if defined(WITH_PROGRESS_FEEDBACK)
|
#if defined(WITH_PROGRESS_FEEDBACK)
|
||||||
assert(m_local_data->done_count == m_local_data->paths.size());
|
assert(m_local_data->done_count == m_local_data->file_count);
|
||||||
#endif
|
#endif
|
||||||
PathName base_path(m_local_data->paths.front().path);
|
PathName base_path(m_local_data->paths.front().path);
|
||||||
std::vector<FileRecordData> data;
|
std::vector<FileRecordData> data;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue