Skip to content

Commit 2cfb0c0

Browse files
committed
Fix StringUtils namespace invocation in ClientConfiguration
1 parent cc16e9d commit 2cfb0c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aws-cpp-sdk-core/source/client/ClientConfiguration.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ Aws::Vector<Aws::String> calculateAuthPreferences() {
195195
// Automatically determine the AWS region from environment variables, configuration file and EC2 metadata.
196196
Aws::Vector<Aws::String> res;
197197
auto prefs = Aws::Environment::GetEnv("AWS_AUTH_SCHEME_PREFERENCE");
198-
Aws::Vector<Aws::String> prefsList = StringUtils::Split(prefs, ',');
198+
Aws::Vector<Aws::String> prefsList = Aws::Utils::StringUtils::Split(prefs, ',');
199199
for (auto& pref : prefsList) {
200-
res.push_back(StringUtils::Trim(pref.c_str()));
200+
res.push_back(Aws::Utils::StringUtils::Trim(pref.c_str()));
201201
}
202202
return res;
203203
}

0 commit comments

Comments
 (0)