From f06e0f5cad0f02c1a5d72338c2898c9f598a1488 Mon Sep 17 00:00:00 2001 From: dan-du-car Date: Fri, 7 Jul 2023 09:32:05 -0400 Subject: [PATCH] code smell --- src/tmx/TmxUtils/src/kafka/kafka_producer_worker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tmx/TmxUtils/src/kafka/kafka_producer_worker.h b/src/tmx/TmxUtils/src/kafka/kafka_producer_worker.h index f14709cb8..7dde427d1 100644 --- a/src/tmx/TmxUtils/src/kafka/kafka_producer_worker.h +++ b/src/tmx/TmxUtils/src/kafka/kafka_producer_worker.h @@ -53,7 +53,7 @@ namespace tmx::utils * @param topic_str topic producer should produce to. * @param n_partition partition producer should be assigned to. */ - kafka_producer_worker(const std::string &brokers, const std::string &topics, int n_partition = 0); + explicit kafka_producer_worker(const std::string &brokers, const std::string &topics, int n_partition = 0); /** * @brief Construct a new kafka producer worker object *