Skip to content

Commit c01ce25

Browse files
committed
Fix brace initialization in AuthSchemeResolverBase.h
1 parent 435d199 commit c01ce25

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/aws-cpp-sdk-core/include/smithy/identity/auth/AuthSchemeResolverBase.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ static const char BEARER_PREFERENCE[] = "bearer";
1818
static const char NO_AUTH_PREFERENCE[] = "noauth";
1919

2020
// Global map from auth scheme name (trimmed ID) to full ID for case insensitive lookup
21-
static const Aws::Array<std::pair<const char*, const char*>, 4> AUTH_SCHEME_NAME_TO_ID = {
21+
static const Aws::Array<std::pair<const char*, const char*>, 4> AUTH_SCHEME_NAME_TO_ID = {{
2222
std::make_pair(SIGV4_PREFERENCE, "aws.auth#sigv4"),
2323
std::make_pair(SIGV4A_PREFERENCE, "aws.auth#sigv4a"),
2424
std::make_pair(BEARER_PREFERENCE, "smithy.api#HTTPBearerAuth"),
2525
std::make_pair(NO_AUTH_PREFERENCE, "smithy.api#noAuth")
26-
};
26+
}};
2727

2828
/**
2929
* A base interface for code-generated interfaces for passing in the data required for determining the

0 commit comments

Comments
 (0)