diff options
author | Lioncash <mathew1800@gmail.com> | 2021-12-13 10:54:05 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-12-13 10:54:43 -0500 |
commit | 6be730bdcdf875655973b1a39576e6933fd93eab (patch) | |
tree | e1a9882a78ba837dd7e9bdd08e77e4259c581955 /src/input_common/drivers/tas_input.h | |
parent | 37a8e2a67eae239b13f10ac56bc42932e9a25b25 (diff) |
tas_input: Use u8string_view instead of u8string
Same behavior, but without the potential for extra allocations.
Diffstat (limited to 'src/input_common/drivers/tas_input.h')
-rw-r--r-- | src/input_common/drivers/tas_input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/drivers/tas_input.h b/src/input_common/drivers/tas_input.h index 7c2c4a21b9..68970dcecd 100644 --- a/src/input_common/drivers/tas_input.h +++ b/src/input_common/drivers/tas_input.h @@ -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 |