Skip to content

Commit

Permalink
Ignore bugprone-use-after-move in Cpp2Worker
Browse files Browse the repository at this point in the history
Differential Revision: D52150312

fbshipit-source-id: 74848c965611a92abf962d1b57eda1458c963384
  • Loading branch information
Sotirios Delimanolis authored and facebook-github-bot committed Jan 17, 2024
1 parent 35e0bfb commit cb95862
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thrift/lib/cpp2/server/Cpp2Worker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ void Cpp2Worker::dispatchRequest(
if (result) {
auto errorCode = errorCodeFromTapplicationException(
result.value().applicationException().getType());
// @lint-ignore CLANGTIDY bugprone-use-after-move
serverRequest.request()->sendErrorWrapped(
folly::exception_wrapper(
folly::in_place,
Expand Down

0 comments on commit cb95862

Please sign in to comment.