diff options
| author | Dr. Dystopia <jonis9898@hotmail.com> | 2025-04-23 07:59:29 +0200 |
|---|---|---|
| committer | Dr. Dystopia <jonis9898@hotmail.com> | 2025-04-23 08:15:10 +0200 |
| commit | 6e6736c89f32957788db2ed2c35eb93d09947988 (patch) | |
| tree | b88828ae504ed7d99f66465cde0bcd3a07a370e7 /Source/UnitTests/Core/PageFaultTest.cpp | |
| parent | 89873d623855497d8ce59c98a6d27b59a091b3e7 (diff) | |
UnitTests: Rename lambda parameters which hide previous declarations
Diffstat (limited to 'Source/UnitTests/Core/PageFaultTest.cpp')
| -rw-r--r-- | Source/UnitTests/Core/PageFaultTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/UnitTests/Core/PageFaultTest.cpp b/Source/UnitTests/Core/PageFaultTest.cpp index a4c5525da2..00b6f85097 100644 --- a/Source/UnitTests/Core/PageFaultTest.cpp +++ b/Source/UnitTests/Core/PageFaultTest.cpp @@ -92,8 +92,8 @@ TEST(PageFault, PageFault) perform_invalid_access(data); auto end = std::chrono::high_resolution_clock::now(); - auto difference_in_nanoseconds = [](auto start, auto end) { - return std::chrono::duration_cast<std::chrono::nanoseconds>(end - start).count(); + auto difference_in_nanoseconds = [](auto diff_start, auto diff_end) { + return std::chrono::duration_cast<std::chrono::nanoseconds>(diff_end - diff_start).count(); }; EMM::UninstallExceptionHandler(); |
