mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-19 10:23:15 +00:00
Use std::string instead of UString
This commit is contained in:
parent
243b087845
commit
079ccd92b1
1 changed files with 1 additions and 3 deletions
|
|
@ -7,13 +7,11 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include <MyGUI_UString.h>
|
||||
|
||||
#include <components/misc/strings/lower.hpp>
|
||||
|
||||
namespace MWGui
|
||||
{
|
||||
inline std::vector<std::string> generatePatternArray(const MyGUI::UString& inputString)
|
||||
inline std::vector<std::string> generatePatternArray(const std::string& inputString)
|
||||
{
|
||||
if (inputString.empty() || inputString.find_first_not_of(" ") == std::string::npos)
|
||||
return std::vector<std::string>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue