diff options
Diffstat (limited to 'src/win32/pthread/pthread.cpp')
-rw-r--r-- | src/win32/pthread/pthread.cpp | 2 |
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; |