diff options
Diffstat (limited to 'src/win32/pthread/pthread.cpp')
-rw-r--r-- | src/win32/pthread/pthread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/pthread/pthread.cpp b/src/win32/pthread/pthread.cpp index 695c253ee..237f29dd4 100644 --- a/src/win32/pthread/pthread.cpp +++ b/src/win32/pthread/pthread.cpp @@ -1,6 +1,6 @@ /* POSIX emulation layer for Windows. * - * (C) 2008-2023 Anope Team + * (C) 2008-2024 Anope Team * Contact us at team@anope.org * * Please read COPYING and README for further details. @@ -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; |