From b1fbff0da622160a2334a59de7f9090fecb5dad6 Mon Sep 17 00:00:00 2001 From: Marc Sunet Date: Tue, 18 Nov 2025 18:50:03 -0800 Subject: Thread-local exception error buffer --- dxcommon/include/dxcommon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dxcommon/include') diff --git a/dxcommon/include/dxcommon.h b/dxcommon/include/dxcommon.h index e04f8e9..35ec0e2 100644 --- a/dxcommon/include/dxcommon.h +++ b/dxcommon/include/dxcommon.h @@ -32,7 +32,7 @@ public: } private: - static char m_error[1024]; + static thread_local char m_error[1024]; }; #define THROW(error) throw exception(error, __FILE__, __LINE__) -- cgit v1.2.3