diff --git a/src/server.cpp b/src/server.cpp index 3402976..a84558c 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -65,7 +65,7 @@ static std::shared_ptr make_signing_resource( auto resource = std::make_shared(); resource->set_path("/sign"); resource->set_method_handler( - "GET", [port, &pot_pubkey_messages]( + "GET", [port, pot_pubkey_messages]( const std::shared_ptr& session) { auto signing_objects_json = R"( {