Skip to content

Commit

Permalink
lint: add static
Browse files Browse the repository at this point in the history
  • Loading branch information
felixguendling committed Jul 19, 2024
1 parent 0868126 commit 3af4992
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pkg.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
11495147790109367829
8573834864848100359
cista ebd5eb5cc7f82c414d3e060a3937d497189a103f
zlib d1c943390ba4f97aa2f50bedc629b6d29027fa0e
boost 60cae66449fa3c9599b2b7d3d5d44c65301ed3a3
Expand Down
3 changes: 2 additions & 1 deletion exe/backend/src/http_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ struct http_server::impl {
return *s.get();
}

search_profile get_search_profile_from_request(boost::json::object const& q) {
static search_profile get_search_profile_from_request(
boost::json::object const& q) {
auto const profile_it = q.find("profile");
return profile_it == q.end() || !profile_it->value().is_string()
? search_profile::kFoot
Expand Down

0 comments on commit 3af4992

Please sign in to comment.