Skip to content

Commit f542f77

Browse files
Bret Ambrosesfodagain
authored andcommitted
Format is being weird and annoying, probably won't work
1 parent 61851c2 commit f542f77

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

discovery/source/DiscoveryClient.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,10 @@ namespace Aws
161161

162162
Crt::Http::HttpRequestOptions requestOptions;
163163
requestOptions.request = request.get();
164-
requestOptions.onIncomingHeaders =
165-
[](Crt::Http::HttpStream &, aws_http_header_block, const Crt::Http::HttpHeader *, std::size_t) {
166-
};
164+
requestOptions.onIncomingHeaders = [](Crt::Http::HttpStream &,
165+
aws_http_header_block,
166+
const Crt::Http::HttpHeader *,
167+
std::size_t) {};
167168
requestOptions.onIncomingHeadersBlockDone =
168169
[callbackContext](Crt::Http::HttpStream &stream, aws_http_header_block)
169170
{ callbackContext->responseCode = stream.GetResponseStatusCode(); };

shadow/source/IotShadowClientV2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ namespace Aws
741741
options.correlation_token = Aws::Crt::ByteCursorFromString(uuid);
742742

743743
auto resultHandler = [handler, responsePathTopicAccepted, responsePathTopicRejected](
744-
Aws::Iot::RequestResponse::UnmodeledResult &&result)
744+
Iot::RequestResponse::UnmodeledResult &&result)
745745
{
746746
s_UpdateShadowResponseHandler(
747747
std::move(result), handler, responsePathTopicAccepted, responsePathTopicRejected);

0 commit comments

Comments
 (0)