[LYN-2255] Updated unit test to use matchers to reduce lines and improve readability. Also fixed some other minor code feedback.

This commit is contained in:
Chris Galvan
2021-04-19 12:29:58 -05:00
parent 0f13a71bd2
commit 06d6ab9715
3 changed files with 8 additions and 21 deletions
@@ -1231,7 +1231,7 @@ void SandboxIntegrationManager::CloneSelection(bool& handled)
AzToolsFramework::EntityIdSet duplicationSet = AzToolsFramework::GetCulledEntityHierarchy(entities);
if (duplicationSet.size() > 0)
if (!duplicationSet.empty())
{
AZStd::unordered_set<AZ::EntityId> clonedEntities;
handled = AzToolsFramework::CloneInstantiatedEntities(duplicationSet, clonedEntities);