diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-12-01 19:53:13 +0100 |
---|---|---|
committer | funjoker <funjoker109@gmail.com> | 2023-12-01 23:29:27 +0100 |
commit | 7e238a32fbef7b746fd1f76fc0b15c1a010a2792 (patch) | |
tree | 7d0a0e3bc014f1fc12cc25c98b5ac6a710ca3ba9 /src/common/Utilities/Util.h | |
parent | 33510fafd866ab14045731ad6e6833a01ade9ba6 (diff) |
Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
(cherry picked from commit 333630b7de15c4090392fcbbc1bc58da4d5fb138)
Diffstat (limited to 'src/common/Utilities/Util.h')
-rw-r--r-- | src/common/Utilities/Util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/Utilities/Util.h b/src/common/Utilities/Util.h index 334b3ab6ac0..e847eaab24a 100644 --- a/src/common/Utilities/Util.h +++ b/src/common/Utilities/Util.h @@ -40,6 +40,8 @@ enum class TimeFormat : uint8 namespace Trinity { + TC_COMMON_API void VerifyOsVersion(); + TC_COMMON_API std::vector<std::string_view> Tokenize(std::string_view str, char sep, bool keepEmpty); /* this would return string_view into temporary otherwise */ |