summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-06 13:23:37 +0000
committerSadie Powell <sadie@witchery.services>2024-01-06 13:23:37 +0000
commita9ab0c72a69cacc597e91870f50622de0334f9a7 (patch)
tree57665546eb565fa608a203aca5f4ac65dc57a6f3 /src/win32
parentde918ef9cfb652b20b215d0d2f6622eb9a117b2c (diff)
Use auto in places where the type is unambiguous.
Diffstat (limited to 'src/win32')
-rw-r--r--src/win32/pthread/pthread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/pthread/pthread.cpp b/src/win32/pthread/pthread.cpp
index 7b705c9d6..237f29dd4 100644
--- a/src/win32/pthread/pthread.cpp
+++ b/src/win32/pthread/pthread.cpp
@@ -36,7 +36,7 @@ int pthread_attr_setdetachstate(pthread_attr_t *, int)
int pthread_create(pthread_t *thread, const pthread_attr_t *, void *(*entry)(void *), void *param)
{
- ThreadInfo *ti = new ThreadInfo;
+ auto *ti = new ThreadInfo;
ti->entry = entry;
ti->param = param;