summaryrefslogtreecommitdiff
path: root/src/common/string_util.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-04 20:48:13 -0400
committerLioncash <mathew1800@gmail.com>2019-04-04 20:59:00 -0400
commit15e0c4c4ec112b9f37591ff5791ccca497bb85a0 (patch)
tree2ced60ae7f8cde1c4d0380e63f4025f90e66f5db /src/common/string_util.cpp
parent7c31661869156d00241e8aebddc9718b918f57d7 (diff)
filesystem: Use a std::string_view in OpenFile()
Rather than make a full copy of the path, we can just use a string view and truncate the viewed portion of the string instead of creating a totally new truncated string.
Diffstat (limited to 'src/common/string_util.cpp')
0 files changed, 0 insertions, 0 deletions