diff options
| author | 2022-05-20 23:35:10 -0400 | |
|---|---|---|
| committer | 2022-05-20 23:35:10 -0400 | |
| commit | 4eb7f6c04473e3f90e2622ee00b822febe1ccef9 (patch) | |
| tree | b037dccee6a4b1a0b4228bef5d2af2f38526fb90 /src/common/string_util.h | |
| parent | Merge pull request #8351 from abouvier/patch-2 (diff) | |
| parent | qt_software_keyboard: Address review feedback (diff) | |
| download | yuzu-4eb7f6c04473e3f90e2622ee00b822febe1ccef9.tar.gz yuzu-4eb7f6c04473e3f90e2622ee00b822febe1ccef9.tar.xz yuzu-4eb7f6c04473e3f90e2622ee00b822febe1ccef9.zip | |
Merge pull request #8342 from lat9nq/clang-latest-stdc++
general: Use Common::U16StringFromBuffer in place of QString::toStdU16String
Diffstat (limited to 'src/common/string_util.h')
| -rw-r--r-- | src/common/string_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h index a33830aec..ce18a33cf 100644 --- a/src/common/string_util.h +++ b/src/common/string_util.h | |||
| @@ -44,6 +44,8 @@ bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _ | |||
| 44 | 44 | ||
| 45 | #endif | 45 | #endif |
| 46 | 46 | ||
| 47 | [[nodiscard]] std::u16string U16StringFromBuffer(const u16* input, std::size_t length); | ||
| 48 | |||
| 47 | /** | 49 | /** |
| 48 | * Compares the string defined by the range [`begin`, `end`) to the null-terminated C-string | 50 | * Compares the string defined by the range [`begin`, `end`) to the null-terminated C-string |
| 49 | * `other` for equality. | 51 | * `other` for equality. |