From 6e5f4125e32f545a61e611720fd30c051b691d62 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Sun, 16 Jan 2022 16:38:11 -0800 Subject: Use Common::ToLower and Common::ToUpper --- Source/UnitTests/Common/x64EmitterTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/UnitTests/Common/x64EmitterTest.cpp') diff --git a/Source/UnitTests/Common/x64EmitterTest.cpp b/Source/UnitTests/Common/x64EmitterTest.cpp index dbbc6c26b4..d374391876 100644 --- a/Source/UnitTests/Common/x64EmitterTest.cpp +++ b/Source/UnitTests/Common/x64EmitterTest.cpp @@ -1,7 +1,6 @@ // Copyright 2014 Dolphin Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later -#include #include #include // From Bochs, fallback included in Externals. #include @@ -17,6 +16,7 @@ #undef TEST #include "Common/CPUDetect.h" +#include "Common/StringUtil.h" #include "Common/x64Emitter.h" namespace Gen @@ -125,7 +125,7 @@ protected: bool inside_parens = false; for (auto c : str) { - c = tolower(c); + c = Common::ToLower(c); if (c == '(') { inside_parens = true; -- cgit v1.2.3