From a82ab4a4edc58c8530a8df781f9187337eabdba2 Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Wed, 11 Nov 2015 20:13:03 +0000 Subject: [PATCH] Bugfix in Release. --- src/indexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indexer.cpp b/src/indexer.cpp index 9ab2eb7..a3ea6b8 100644 --- a/src/indexer.cpp +++ b/src/indexer.cpp @@ -207,8 +207,8 @@ namespace din { void Indexer::calculate_hash() { 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()); +#if defined(INDEXER_VERBOSE) for (auto& itm : m_local_data->paths) { itm.hash.part_a = 1; itm.hash.part_b = 1;