Skip to content

Commit

Permalink
lets make string array const input (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriyMusatkin committed Aug 2, 2024
1 parent 04e777c commit 4658412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/aws/sdkutils/endpoints_rule_engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ AWS_SDKUTILS_API int aws_endpoints_request_context_add_string_array(
struct aws_allocator *allocator,
struct aws_endpoints_request_context *context,
struct aws_byte_cursor name,
struct aws_byte_cursor *value_array,
const struct aws_byte_cursor *value_array,
size_t len);

/*
Expand Down
2 changes: 1 addition & 1 deletion source/endpoints_rule_engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ int aws_endpoints_request_context_add_string_array(
struct aws_allocator *allocator,
struct aws_endpoints_request_context *context,
struct aws_byte_cursor name,
struct aws_byte_cursor *values,
const struct aws_byte_cursor *values,
size_t len) {

struct aws_endpoints_scope_value *val = aws_endpoints_scope_value_new(allocator, name);
Expand Down

0 comments on commit 4658412

Please sign in to comment.