Fix clang-tidy build

This commit is contained in:
Antonio Andelic 2023-03-29 07:38:37 +00:00
parent 3b73f94eb8
commit 32cfc983b5

View File

@ -499,7 +499,7 @@ try
/// Prometheus (if defined and not setup yet with http_port)
port_name = "prometheus.port";
createServer(listen_host, port_name, listen_try, [&, http_context = std::move(http_context)](UInt16 port)
createServer(listen_host, port_name, listen_try, [&, http_context = std::move(http_context)](UInt16 port) mutable
{
Poco::Net::ServerSocket socket;
auto address = socketBindListen(socket, listen_host, port);