Removed the new added flavor of ReadFile and reused existing one

This commit is contained in:
srikappa
2021-06-08 17:58:59 -07:00
parent 9dec723e33
commit b23c95cab3
3 changed files with 1 additions and 36 deletions
@@ -74,7 +74,7 @@ namespace AzToolsFramework
return InvalidTemplateId;
}
auto readResult = AZ::Utils::ReadFileWithNoSizeLimit(GetFullPath(filePath).Native());
auto readResult = AZ::Utils::ReadFile(GetFullPath(filePath).Native(), AZStd::numeric_limits<size_t>::max());
if (!readResult.IsSuccess())
{
AZ_Error(