From 02a05fbd4c640b33b1e03075681f169db2fb6ab2 Mon Sep 17 00:00:00 2001 From: Francesco Borzì Date: Wed, 31 Jul 2024 01:06:46 +0200 Subject: refactor(src/common): remove unused imports (#19506) * refactor(src/common): remove unused imports * fix: build * chore: fix build * chore: size_t -> std::size_t * chore: fix fuckup from previous commit * chore: fix build * chore: fix build * chore: fix build * chore: fix build with std::size_t * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build --- src/common/Logging/AppenderFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/Logging/AppenderFile.cpp') diff --git a/src/common/Logging/AppenderFile.cpp b/src/common/Logging/AppenderFile.cpp index 3357b2cf30..81b84cb985 100644 --- a/src/common/Logging/AppenderFile.cpp +++ b/src/common/Logging/AppenderFile.cpp @@ -44,7 +44,7 @@ AppenderFile::AppenderFile(uint8 id, std::string const& name, LogLevel level, Ap if (flags & APPENDER_FLAGS_USE_TIMESTAMP) { - size_t dot_pos = _fileName.find_last_of('.'); + std::size_t dot_pos = _fileName.find_last_of('.'); if (dot_pos != std::string::npos) { _fileName.insert(dot_pos, sLog->GetLogsTimestamp()); -- cgit v1.2.3