diff options
Diffstat (limited to 'src/DeadlockDetect.cpp')
-rw-r--r-- | src/DeadlockDetect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DeadlockDetect.cpp b/src/DeadlockDetect.cpp index ac4cabd74..6c114897a 100644 --- a/src/DeadlockDetect.cpp +++ b/src/DeadlockDetect.cpp @@ -72,7 +72,7 @@ bool cDeadlockDetect::Start(int a_IntervalSec) void cDeadlockDetect::TrackCriticalSection(cCriticalSection & a_CS, const AString & a_Name) { cCSLock lock(m_CS); - m_TrackedCriticalSections.emplace_back(std::make_pair(&a_CS, a_Name)); + m_TrackedCriticalSections.emplace_back(&a_CS, a_Name); } |