summaryrefslogtreecommitdiff
path: root/Source/UnitTests/Common/x64EmitterTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/UnitTests/Common/x64EmitterTest.cpp')
-rw-r--r--Source/UnitTests/Common/x64EmitterTest.cpp4
1 files changed, 2 insertions, 2 deletions
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 <cctype>
#include <cstring>
#include <disasm.h> // From Bochs, fallback included in Externals.
#include <gtest/gtest.h>
@@ -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;