From bd00a0081a6bc1079386b15d9ddc600990a3ed10 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 1 Oct 2023 18:11:02 +0300 Subject: [PATCH] fix typo in comment --- src/logger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.cpp b/src/logger.cpp index 3f540e25..0b66ce18 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -37,7 +37,7 @@ const std::string &logger::name() const { return name_; } void logger::set_formatter(std::unique_ptr f) { for (auto it = sinks_.begin(); it != sinks_.end(); ++it) { if (std::next(it) == sinks_.end()) { - // last element - we can be move it. + // last element - we can move it. (*it)->set_formatter(std::move(f)); break; // to prevent clang-tidy warning } else {