From 079ccd92b153e170ece8b5cb2cc0af672ea0ca7d Mon Sep 17 00:00:00 2001 From: ddbb07 <31517774-ddbb07@users.noreply.gitlab.com> Date: Thu, 4 Dec 2025 22:56:35 +0100 Subject: [PATCH] Use std::string instead of UString --- apps/openmw/mwgui/weightedsearch.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/openmw/mwgui/weightedsearch.hpp b/apps/openmw/mwgui/weightedsearch.hpp index d973981401..81217651c2 100644 --- a/apps/openmw/mwgui/weightedsearch.hpp +++ b/apps/openmw/mwgui/weightedsearch.hpp @@ -7,13 +7,11 @@ #include #include -#include - #include namespace MWGui { - inline std::vector generatePatternArray(const MyGUI::UString& inputString) + inline std::vector generatePatternArray(const std::string& inputString) { if (inputString.empty() || inputString.find_first_not_of(" ") == std::string::npos) return std::vector();