Skip to content

Commit

Permalink
Simplify LoggingEvent creation (#408)
Browse files Browse the repository at this point in the history
  • Loading branch information
swebb2066 authored Aug 23, 2024
1 parent 1ce756c commit 36a389a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/cpp/loggingevent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ using namespace LOG4CXX_NS::helpers;

struct LoggingEvent::LoggingEventPrivate
{
LoggingEventPrivate(const ThreadSpecificData::NamePairPtr& p = ThreadSpecificData::getCurrentData()->getNames()) :
LoggingEventPrivate(const ThreadSpecificData::NamePairPtr& p = ThreadSpecificData::getNames()) :
timeStamp(0),
#if LOG4CXX_ABI_VERSION <= 15
threadName(p->idString),
Expand All @@ -53,7 +53,7 @@ struct LoggingEvent::LoggingEventPrivate
, const LevelPtr& level1
, const LocationInfo& locationInfo1
, LogString&& message1
, const ThreadSpecificData::NamePairPtr& p = ThreadSpecificData::getCurrentData()->getNames()
, const ThreadSpecificData::NamePairPtr& p = ThreadSpecificData::getNames()
) :
logger(logger1),
level(level1),
Expand All @@ -72,7 +72,7 @@ struct LoggingEvent::LoggingEventPrivate
LoggingEventPrivate(
const LogString& logger1, const LevelPtr& level1,
const LogString& message1, const LocationInfo& locationInfo1,
const ThreadSpecificData::NamePairPtr& p = ThreadSpecificData::getCurrentData()->getNames()
const ThreadSpecificData::NamePairPtr& p = ThreadSpecificData::getNames()
) :
logger(logger1),
level(level1),
Expand Down

0 comments on commit 36a389a

Please sign in to comment.