summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-10-17 20:07:57 -0400
committerGravatar Lioncash2019-10-17 20:29:00 -0400
commita2eccbf075ea686cb54d7ebce719cf9ad6cf551b (patch)
tree05b265fb0f7514e405fbe402fccea4fd2127986e /src/core/hle/kernel/kernel.cpp
parentvideo_core/shader/ast: Make Indent() private (diff)
downloadyuzu-a2eccbf075ea686cb54d7ebce719cf9ad6cf551b.tar.gz
yuzu-a2eccbf075ea686cb54d7ebce719cf9ad6cf551b.tar.xz
yuzu-a2eccbf075ea686cb54d7ebce719cf9ad6cf551b.zip
video_core/shader/ast: Make Indent() return a string_view
The returned string is simply a substring of our constexpr tabs string_view, so we can just use a string_view here as well, since the original string_view is guaranteed to always exist. Now the function is fully non-allocating.
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
0 files changed, 0 insertions, 0 deletions