Useless cast

This commit is contained in:
Vladislav Nepogodin 2021-12-19 15:04:47 +04:00 committed by GitHub
parent 3f49f0f247
commit 7e95963940
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -407,7 +407,7 @@ SPDLOG_INLINE int pid() SPDLOG_NOEXCEPT
#ifdef _WIN32
return static_cast<int>(::GetCurrentProcessId());
#else
return static_cast<int>(::getpid());
return ::getpid();
#endif
}