summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2018-07-20 22:02:53 -0400
committerGravatar Lioncash2018-07-20 22:04:37 -0400
commit3e0727df1b9354952dc7690dddd3a8239bcdadda (patch)
tree338abfd6af45e7adbe190f51d268c02940415b86 /src/common/string_util.cpp
parentvfs: Make WriteBytes() overload taking a std::vector pass the std::vector by ... (diff)
downloadyuzu-3e0727df1b9354952dc7690dddd3a8239bcdadda.tar.gz
yuzu-3e0727df1b9354952dc7690dddd3a8239bcdadda.tar.xz
yuzu-3e0727df1b9354952dc7690dddd3a8239bcdadda.zip
vfs_offset: Simplify TrimToFit()
We can simply use std::clamp() here, instead of using an equivalent with std::max() and std::min().
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions