summaryrefslogtreecommitdiff
path: root/include/hostname_monitor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/hostname_monitor.hpp')
-rw-r--r--include/hostname_monitor.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hostname_monitor.hpp b/include/hostname_monitor.hpp
index f0d8bdf322..ed719d5c9c 100644
--- a/include/hostname_monitor.hpp
+++ b/include/hostname_monitor.hpp
@@ -19,7 +19,7 @@ static std::unique_ptr<sdbusplus::bus::match_t> hostnameSignalMonitor;
inline void installCertificate(const std::filesystem::path& certPath)
{
crow::connections::systemBus->async_method_call(
- [certPath](const boost::system::error_code ec) {
+ [certPath](const boost::system::error_code& ec) {
if (ec)
{
BMCWEB_LOG_ERROR << "Replace Certificate Fail..";