FixedMaxPathString replacement
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -94,7 +94,7 @@ namespace AssetProcessor
|
||||
AZ::IO::Path currentFullFolderPath(AZ::IO::PosixPathSeparator);
|
||||
const AZ::IO::FixedMaxPath filename = fullPath.Filename();
|
||||
fullPath.RemoveFilename();
|
||||
AZStd::fixed_string<AZ::IO::MaxPathLength> currentPath;
|
||||
AZ::IO::FixedMaxPathString currentPath;
|
||||
for (auto pathIt = fullPath.begin(); pathIt != fullPath.end(); ++pathIt)
|
||||
{
|
||||
currentPath = pathIt->FixedMaxPathString();
|
||||
@@ -125,7 +125,7 @@ namespace AssetProcessor
|
||||
}
|
||||
|
||||
m_sourceToTreeItem[source.m_sourceName] =
|
||||
parentItem->CreateChild(SourceAssetTreeItemData::MakeShared(&source, &scanFolder, source.m_sourceName, AZStd::fixed_string<AZ::IO::MaxPathLength>(filename.Native()).c_str(), false));
|
||||
parentItem->CreateChild(SourceAssetTreeItemData::MakeShared(&source, &scanFolder, source.m_sourceName, AZ::IO::FixedMaxPathString(filename.Native()).c_str(), false));
|
||||
m_sourceIdToTreeItem[source.m_sourceID] = m_sourceToTreeItem[source.m_sourceName];
|
||||
if (!modelIsResetting)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user