From 7115a7e75bd6c4d6a5692ed494e600d4d95e3baa Mon Sep 17 00:00:00 2001 From: Tyler Neely Date: Fri, 18 Nov 2022 10:24:19 +0000 Subject: [PATCH] Apply clang-tidy fixes --- src/io/address.hpp | 2 ++ src/io/simulator/simulator_stats.hpp | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/io/address.hpp b/src/io/address.hpp index e38b1e514..3bb518b50 100644 --- a/src/io/address.hpp +++ b/src/io/address.hpp @@ -20,6 +20,8 @@ #include #include +#include "utils/logging.hpp" + namespace memgraph::io { struct PartialAddress { diff --git a/src/io/simulator/simulator_stats.hpp b/src/io/simulator/simulator_stats.hpp index 08d1f1dd3..ccc5ec1de 100644 --- a/src/io/simulator/simulator_stats.hpp +++ b/src/io/simulator/simulator_stats.hpp @@ -13,6 +13,8 @@ #include +#include + namespace memgraph::io::simulator { struct SimulatorStats { uint64_t total_messages = 0; @@ -22,7 +24,7 @@ struct SimulatorStats { uint64_t total_responses = 0; uint64_t simulator_ticks = 0; - friend bool operator==(const SimulatorStats &lhs, const SimulatorStats &rhs) = default; + friend bool operator==(const SimulatorStats & /* lhs */, const SimulatorStats & /* rhs */) = default; friend std::ostream &operator<<(std::ostream &in, const SimulatorStats &stats) { std::string formated = fmt::format(