summaryrefslogtreecommitdiff
path: root/lib/parallel_scan.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parallel_scan.cpp')
-rw-r--r--lib/parallel_scan.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parallel_scan.cpp b/lib/parallel_scan.cpp
index 1052a408..a98623cf 100644
--- a/lib/parallel_scan.cpp
+++ b/lib/parallel_scan.cpp
@@ -345,7 +345,7 @@ void DirCallback::onFile(const Zchar* shortName, const Zstring& fullName, const
{
boost::this_thread::interruption_point();
- const Zstring fileNameShort = shortName;
+ const Zstring fileNameShort(shortName);
//do not list the database file(s) sync.ffs_db, sync.x64.ffs_db, etc. or lock files
if (endsWith(fileNameShort, SYNC_DB_FILE_ENDING) ||
bgstack15