diff options
| author | 2023-02-03 15:42:18 -0800 | |
|---|---|---|
| committer | 2023-02-03 15:42:18 -0800 | |
| commit | 193b513bf544c5dab80d1a849ce62e59e872cd3a (patch) | |
| tree | 665e83a9b6a747f25b30de50350abec1f68d110f /src/common/string_util.cpp | |
| parent | Merge pull request #9713 from unfamiliarplace/master (diff) | |
| parent | fsp_srv: Copy HLE Read Buffer for OutputAccessLogToSdCard (diff) | |
| download | yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.gz yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.tar.xz yuzu-193b513bf544c5dab80d1a849ce62e59e872cd3a.zip | |
Merge pull request #9719 from ameerj/hle-ipc-span-copy
Revert #9718, Copy HLE Read Buffer for OutputAccessLogToSdCard
Diffstat (limited to 'src/common/string_util.cpp')
| -rw-r--r-- | src/common/string_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp index b26db4796..e0b6180c5 100644 --- a/src/common/string_util.cpp +++ b/src/common/string_util.cpp | |||
| @@ -30,7 +30,7 @@ std::string ToUpper(std::string str) { | |||
| 30 | return str; | 30 | return str; |
| 31 | } | 31 | } |
| 32 | 32 | ||
| 33 | std::string StringFromBuffer(const std::vector<u8>& data) { | 33 | std::string StringFromBuffer(std::span<const u8> data) { |
| 34 | return std::string(data.begin(), std::find(data.begin(), data.end(), '\0')); | 34 | return std::string(data.begin(), std::find(data.begin(), data.end(), '\0')); |
| 35 | } | 35 | } |
| 36 | 36 | ||