Improve iOS string handling in DynamicModuleHandle_iOS

This commit is contained in:
Aaron Ruiz Mora
2021-05-18 16:43:51 +01:00
committed by GitHub
parent 43258be51c
commit dd398891c9
@@ -40,7 +40,7 @@ namespace AZ
// Afterwards use the AZ::IO::Path Append function append the filename as a child
// of the framework directory
AZ::IO::FixedMaxPathString fileName{ fullPath.Filename().Native() };
fullPath.ReplaceFilename(AZ::IO::PathView((fileName + ".framework").c_str()));
fullPath.ReplaceFilename(AZ::IO::PathView(AZStd::string_view(fileName + ".framework")));
fullPath /= fileName;
}
}