aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support/Windows/ThreadLocal.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Windows/ThreadLocal.inc')
-rw-r--r--lib/Support/Windows/ThreadLocal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Windows/ThreadLocal.inc b/lib/Support/Windows/ThreadLocal.inc
index 14ce619..b9cb8ff 100644
--- a/lib/Support/Windows/ThreadLocal.inc
+++ b/lib/Support/Windows/ThreadLocal.inc
@@ -34,7 +34,7 @@ ThreadLocalImpl::~ThreadLocalImpl() {
TlsFree(*tls);
}
-const void* ThreadLocalImpl::getInstance() {
+void *ThreadLocalImpl::getInstance() {
DWORD* tls = reinterpret_cast<DWORD*>(&data);
return TlsGetValue(*tls);
}