Skip to content

Commit

Permalink
MSVC workaround in example
Browse files Browse the repository at this point in the history
  • Loading branch information
zajo committed Aug 18, 2024
1 parent 5accbc8 commit d1d0b54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/asio_beast_leaf_rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,8 +550,7 @@ int main(int argc, char **argv) {
rv = 0;
} else {
// Handle errors from running the server logic
leaf::result<int> result_int{result.error()};
rv = error_context.handle_error<int>(result_int.error(), error_handlers);
rv = error_context.handle_error<int>(result.error(), error_handlers);
}
});
io_context.run();
Expand Down

0 comments on commit d1d0b54

Please sign in to comment.