1
0
Fork 0
mirror of https://github.com/KingDuckZ/dindexer.git synced 2024-11-25 00:53:43 +00:00

Bugfix in Release.

This commit is contained in:
King_DuckZ 2015-11-11 20:13:03 +00:00
parent 49a9702115
commit a82ab4a4ed

View file

@ -207,8 +207,8 @@ namespace din {
void Indexer::calculate_hash() { void Indexer::calculate_hash() {
PathName base_path(m_local_data->paths.front().path); PathName base_path(m_local_data->paths.front().path);
#if defined(INDEXER_VERBOSE)
std::sort(m_local_data->paths.begin(), m_local_data->paths.end()); std::sort(m_local_data->paths.begin(), m_local_data->paths.end());
#if defined(INDEXER_VERBOSE)
for (auto& itm : m_local_data->paths) { for (auto& itm : m_local_data->paths) {
itm.hash.part_a = 1; itm.hash.part_a = 1;
itm.hash.part_b = 1; itm.hash.part_b = 1;