瀏覽代碼

Fixed the return value of the ConvertToAbsolutePath function (#5195)

Signed-off-by: lumberyard-employee-dm <[email protected]>
lumberyard-employee-dm 3 年之前
父節點
當前提交
a9f7ab4aaf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Code/Framework/AzCore/AzCore/Utils/Utils.cpp

+ 1 - 1
Code/Framework/AzCore/AzCore/Utils/Utils.cpp

@@ -59,7 +59,7 @@ namespace AZ::Utils
         {
             // Fix the size value of the fixed string by calculating the c-string length using char traits
             absolutePath.resize_no_construct(AZStd::char_traits<char>::length(absolutePath.data()));
-            return srcPath;
+            return absolutePath;
         }
 
         return AZStd::nullopt;