mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03:00
Use string_view in the remaining Class methods and push string_views closer to the MyGUI boundary
This commit is contained in:
parent
a5a0d26976
commit
0df45a90b3
39 changed files with 88 additions and 92 deletions
|
@ -27,10 +27,10 @@ namespace Interpreter
|
|||
|
||||
virtual void setLocalFloat (int index, float value) = 0;
|
||||
|
||||
virtual void messageBox (const std::string& message,
|
||||
virtual void messageBox(std::string_view message,
|
||||
const std::vector<std::string>& buttons) = 0;
|
||||
|
||||
void messageBox (const std::string& message)
|
||||
void messageBox(std::string_view message)
|
||||
{
|
||||
std::vector<std::string> empty;
|
||||
messageBox (message, empty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue