JosiahWI commented on code in PR #13686:
URL: https://github.com/apache/trafficserver/pull/13686#discussion_r4016606387
##########
src/records/unit_tests/test_ConfigRegistry.cc:
##########
@@ -30,7 +30,7 @@ using config::ConfigRegistry;
using config::ConfigSource;
// Shared no-op handler for test registrations
-static config::ConfigReloadHandler noop_handler = [](ConfigContext) {};
+static config::ConfigReloadHandler noop_handler = [](ConfigContext const &) {};
Review Comment:
How does this work? `config::ConfigReloadHandler` is type
`std::function<void(ConfigContext)>`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]