From 5123850db075b69272700b32314dc9b04e0b43b3 Mon Sep 17 00:00:00 2001 From: Tiger Wang Date: Sun, 28 Mar 2021 13:34:57 +0100 Subject: Fix Windows XP to 7 compatibility (#5167) * Partially reverts 01a4e696b * Unify thread names - Remove use of GetThreadId API --- src/OSSupport/IsThread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/OSSupport/IsThread.h') diff --git a/src/OSSupport/IsThread.h b/src/OSSupport/IsThread.h index d882dbf8a..6a515a6de 100644 --- a/src/OSSupport/IsThread.h +++ b/src/OSSupport/IsThread.h @@ -32,7 +32,7 @@ protected: std::atomic m_ShouldTerminate; public: - cIsThread(const AString & a_ThreadName); + cIsThread(AString && a_ThreadName); virtual ~cIsThread(); /** Starts the thread; returns without waiting for the actual start. */ -- cgit v1.2.3