Skip to content

Commit

Permalink
Update src/engine/Server.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Johannes Kalmbach <[email protected]>
  • Loading branch information
Qup42 and joka921 authored Oct 29, 2024
1 parent 3ef9acf commit f251d29
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/engine/Server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,7 @@ Awaitable<void> Server::process(
// We always want to call `Server::checkParameter` with the same first
// parameter.
auto checkParameter =
std::bind(&Server::checkParameter, std::cref(parameters),
std::placeholders::_1, std::placeholders::_2);
std::bind_front(&Server::checkParameter, std::cref(parameters));

Check warning on line 350 in src/engine/Server.cpp

View check run for this annotation

Codecov / codecov/patch

src/engine/Server.cpp#L349-L350

Added lines #L349 - L350 were not covered by tests

// Check the access token. If an access token is provided and the check fails,
// throw an exception and do not process any part of the query (even if the
Expand Down

0 comments on commit f251d29

Please sign in to comment.