summaryrefslogtreecommitdiff
path: root/FreeFileSync/Source/afs/native.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'FreeFileSync/Source/afs/native.cpp')
-rw-r--r--FreeFileSync/Source/afs/native.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeFileSync/Source/afs/native.cpp b/FreeFileSync/Source/afs/native.cpp
index 937523fc..da016788 100644
--- a/FreeFileSync/Source/afs/native.cpp
+++ b/FreeFileSync/Source/afs/native.cpp
@@ -670,7 +670,7 @@ bool fff::acceptsItemPathPhraseNative(const Zstring& itemPathPhrase) //noexcept
AbstractPath fff::createItemPathNative(const Zstring& itemPathPhrase) //noexcept
{
//TODO: get volume by name hangs for idle HDD! => run createItemPathNative during getFolderStatusNonBlocking() but getResolvedFilePath currently not thread-safe!
- const Zstring itemPath = getResolvedFilePath(itemPathPhrase);
+ const Zstring& itemPath = getResolvedFilePath(itemPathPhrase);
return createItemPathNativeNoFormatting(itemPath);
}
bgstack15