1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00

Apply suggestions from code review

Co-authored-by: Nordsoft91 <nordsoft@yahoo.com>
This commit is contained in:
Andrey Filipenkov
2022-09-23 19:22:37 +03:00
parent 5f0a8419d3
commit 9f46bf5bff
5 changed files with 7 additions and 10 deletions

View File

@ -87,7 +87,7 @@ void setThreadName(const std::string &name)
#elif defined(__linux__)
prctl(PR_SET_NAME, name.c_str(), 0, 0, 0);
#elif defined(VCMI_APPLE)
pthread_setname_np(name.c_str());
pthread_setname_np(name.c_str());
#endif
}