easylogging++: do not delete uninitialized objects
CID 1446562
This commit is contained in:
parent
7b6d959596
commit
67b97a5f16
1
external/easylogging++/easylogging++.cc
vendored
1
external/easylogging++/easylogging++.cc
vendored
@ -714,7 +714,6 @@ Logger::Logger(const std::string& id, const Configurations& configurations,
|
|||||||
}
|
}
|
||||||
|
|
||||||
Logger::Logger(const Logger& logger) {
|
Logger::Logger(const Logger& logger) {
|
||||||
base::utils::safeDelete(m_typedConfigurations);
|
|
||||||
m_id = logger.m_id;
|
m_id = logger.m_id;
|
||||||
m_typedConfigurations = logger.m_typedConfigurations;
|
m_typedConfigurations = logger.m_typedConfigurations;
|
||||||
m_parentApplicationName = logger.m_parentApplicationName;
|
m_parentApplicationName = logger.m_parentApplicationName;
|
||||||
|
Loading…
Reference in New Issue
Block a user