refactor(Core/Misc): string handling and use smart pointer for strand (#22351)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user