LYN-4831: AWCore code cleanup pass, fixing issues with ResolvePath (#4538)

Signed-off-by: rppotter <rppotter@amazon.com>
This commit is contained in:
Pip Potter
2021-10-08 11:20:09 -07:00
committed by GitHub
parent 396edd22fb
commit 960edf857d
40 changed files with 91 additions and 102 deletions
@@ -26,7 +26,6 @@ namespace AWSCore
: m_status(Status::NotLoaded)
, m_defaultAccountId("")
, m_defaultRegion("")
, m_resourceMappings()
{
}
@@ -164,7 +163,7 @@ namespace AWSCore
m_defaultRegion = jsonDocument.FindMember(ResourceMappingRegionKeyName)->value.GetString();
auto resourceMappings = jsonDocument.FindMember(ResourceMappingResourcesKeyName)->value.GetObject();
for (auto mappingIter = resourceMappings.MemberBegin(); mappingIter != resourceMappings.MemberEnd(); mappingIter++)
for (auto mappingIter = resourceMappings.MemberBegin(); mappingIter != resourceMappings.MemberEnd(); ++mappingIter)
{
auto mappingValue = mappingIter->value.GetObject();
if (mappingValue.MemberCount() != 0)