easylogging++: do not delete uninitialized objects

CID 1446562
This commit is contained in:
moneromooo-monero 2021-06-11 07:51:29 +00:00
parent 7b6d959596
commit 67b97a5f16
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -714,7 +714,6 @@ Logger::Logger(const std::string& id, const Configurations& configurations,
}
Logger::Logger(const Logger& logger) {
base::utils::safeDelete(m_typedConfigurations);
m_id = logger.m_id;
m_typedConfigurations = logger.m_typedConfigurations;
m_parentApplicationName = logger.m_parentApplicationName;