mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 13:01:27 +12:00
RPCN 0.9 (#15002)
This commit is contained in:
parent
bc141831f7
commit
b6e9746198
15 changed files with 2254 additions and 1770 deletions
|
@ -652,6 +652,11 @@ std::string fmt::to_lower(std::string_view string)
|
|||
return result;
|
||||
}
|
||||
|
||||
std::string fmt::truncate(std::string_view src, usz length)
|
||||
{
|
||||
return std::string(src.begin(), src.begin() + std::min(src.size(), length));
|
||||
}
|
||||
|
||||
bool fmt::match(const std::string& source, const std::string& mask)
|
||||
{
|
||||
usz source_position = 0, mask_position = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue