tas_input: Use u8string_view instead of u8string
Same behavior, but without the potential for extra allocations.
This commit is contained in:
parent
37a8e2a67e
commit
6be730bdcd
2 changed files with 7 additions and 6 deletions
|
@ -150,7 +150,7 @@ private:
|
|||
* Writes a TAS file from the recorded commands
|
||||
* @param file_name Name of the file to be written
|
||||
*/
|
||||
void WriteTasFile(std::u8string file_name);
|
||||
void WriteTasFile(std::u8string_view file_name);
|
||||
|
||||
/**
|
||||
* Parses a string containing the axis values. X and Y have a range from -32767 to 32767
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue