Skip to content

Commit 84ead78

Browse files
committed
change to make a copy instead of move
1 parent 76bde21 commit 84ead78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aws-cpp-sdk-core/source/config/AWSConfigFileProfileConfigLoader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ namespace Aws
216216
auto servicesBlk = m_services.find(servicesRef);
217217
Aws::Map<Aws::String, Aws::String> endpoints;
218218
if (servicesBlk != m_services.end()) {
219-
endpoints = std::move(servicesBlk->second);
219+
endpoints = servicesBlk->second;
220220
}
221221
profile.SetServices(Profile::Services(std::move(endpoints), servicesRef));
222222
}

0 commit comments

Comments
 (0)