refactor(Core/Misc): string handling and use smart pointer for strand (#22351)

This commit is contained in:
Francesco Borzì
2025-07-19 11:36:40 +02:00
committed by GitHub
parent cbd8596184
commit c6a53849c7
3 changed files with 12 additions and 8 deletions
+2 -1
View File
@@ -24,6 +24,7 @@
#include "StringFormat.h"
#include <unordered_map>
#include <vector>
#include <memory>
class Appender;
class Logger;
@@ -120,7 +121,7 @@ private:
std::string m_logsTimestamp;
Acore::Asio::IoContext* _ioContext;
Acore::Asio::Strand* _strand;
std::unique_ptr<Acore::Asio::Strand> _strand;
};
#define sLog Log::instance()