Modernization + AZStd::function compare fix. (#3680)
* Modernization + small fix. Modernize ( `bool`/`override`/other) code in AzCore, AzFramework, AzQtComponents, AzToolsFramework, etc. Replaced a `bind` or two, use `using` in a few places as well. Fix nullptr comparison of AZStd::function. Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com> * Apply review-based changes Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
This commit is contained in:
@@ -462,7 +462,7 @@ namespace AzToolsFramework
|
||||
linkId, templateId, templateToDelete.GetFilePath().c_str());
|
||||
}
|
||||
|
||||
result = m_templateToLinkIdsMap.erase(templateToLinkIterator) != 0;
|
||||
result = m_templateToLinkIdsMap.erase(templateToLinkIterator) != nullptr;
|
||||
AZ_Assert(result,
|
||||
"Prefab - PrefabSystemComponent::RemoveTemplate - "
|
||||
"Failed to remove Template with Id '%llu' on file path '%s' "
|
||||
|
||||
Reference in New Issue
Block a user