summaryrefslogtreecommitdiff
path: root/src/common/Debugging/WheatyExceptionReport.cpp
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2024-07-31 01:06:46 +0200
committerGitHub <noreply@github.com>2024-07-30 20:06:46 -0300
commit02a05fbd4c640b33b1e03075681f169db2fb6ab2 (patch)
treecfe8879750af8cd87d3ebbea244dd88c52e47275 /src/common/Debugging/WheatyExceptionReport.cpp
parent06a608d244cf24d5077cbcdf547993d2a0e30659 (diff)
refactor(src/common): remove unused imports (#19506)
* refactor(src/common): remove unused imports * fix: build * chore: fix build * chore: size_t -> std::size_t * chore: fix fuckup from previous commit * chore: fix build * chore: fix build * chore: fix build * chore: fix build with std::size_t * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build * chore: fix build
Diffstat (limited to 'src/common/Debugging/WheatyExceptionReport.cpp')
-rw-r--r--src/common/Debugging/WheatyExceptionReport.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/Debugging/WheatyExceptionReport.cpp b/src/common/Debugging/WheatyExceptionReport.cpp
index be56630025..57ba80cae7 100644
--- a/src/common/Debugging/WheatyExceptionReport.cpp
+++ b/src/common/Debugging/WheatyExceptionReport.cpp
@@ -260,13 +260,13 @@ BOOL WheatyExceptionReport::_GetProcessorName(TCHAR* sProcessorName, DWORD maxco
return TRUE;
}
-template<size_t size>
+template<std::size_t size>
void ToTchar(wchar_t const* src, TCHAR (&dst)[size], std::true_type)
{
wcstombs_s(nullptr, dst, src, size);
}
-template<size_t size>
+template<std::size_t size>
void ToTchar(wchar_t const* src, TCHAR (&dst)[size], std::false_type)
{
wcscpy_s(dst, src);
@@ -1455,8 +1455,8 @@ void WheatyExceptionReport::FormatOutputValue(char* pszCurrBuffer,
BasicType basicType,
DWORD64 length,
PVOID pAddress,
- size_t bufferSize,
- size_t countOverride)
+ std::size_t bufferSize,
+ std::size_t countOverride)
{
__try
{
@@ -1677,7 +1677,7 @@ void WheatyExceptionReport::PrintSymbolDetail()
}
// Add appropriate indentation level (since this routine is recursive)
- for (size_t i = 0; i < symbolDetails.size(); i++)
+ for (std::size_t i = 0; i < symbolDetails.size(); i++)
{
Log(_T("\t"));
}