mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
15 lines
304 B
C++
15 lines
304 B
C++
#ifndef MWGUI_USTRING_H
|
|
#define MWGUI_USTRING_H
|
|
|
|
#include <MyGUI_UString.h>
|
|
|
|
namespace MWGui
|
|
{
|
|
// FIXME: Remove once we get a version of MyGUI that supports string_view
|
|
inline MyGUI::UString toUString(std::string_view string)
|
|
{
|
|
return { string.data(), string.size() };
|
|
}
|
|
}
|
|
|
|
#endif |