Skip to content

Commit d09986e

Browse files
committed
Code reformat
1 parent c572b10 commit d09986e

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/AsyncJson.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,10 @@ constexpr static WebRequestMethodComposite JsonHandlerMethods =
117117

118118
#if ARDUINOJSON_VERSION_MAJOR == 6
119119
AsyncCallbackJsonWebHandler::AsyncCallbackJsonWebHandler(AsyncURIMatcher uri, ArJsonRequestHandlerFunction onRequest, size_t maxJsonBufferSize)
120-
: _uri(std::move(uri)),
121-
_method(JsonHandlerMethods),
122-
_onRequest(onRequest), maxJsonBufferSize(maxJsonBufferSize), _maxContentLength(16384) {}
120+
: _uri(std::move(uri)), _method(JsonHandlerMethods), _onRequest(onRequest), maxJsonBufferSize(maxJsonBufferSize), _maxContentLength(16384) {}
123121
#else
124122
AsyncCallbackJsonWebHandler::AsyncCallbackJsonWebHandler(AsyncURIMatcher uri, ArJsonRequestHandlerFunction onRequest)
125-
: _uri(std::move(uri)),
126-
_method(JsonHandlerMethods),
127-
_onRequest(onRequest), _maxContentLength(16384) {}
123+
: _uri(std::move(uri)), _method(JsonHandlerMethods), _onRequest(onRequest), _maxContentLength(16384) {}
128124
#endif
129125

130126
bool AsyncCallbackJsonWebHandler::canHandle(AsyncWebServerRequest *request) const {

0 commit comments

Comments
 (0)