diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-23 13:32:49 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-05-23 13:35:31 -0400 |
| commit | e71ba6388aca1d5a183e1bdc8b49017ddbb9f57d (patch) | |
| tree | 053bbcf48663e6086cc59a971dd91b72038fed8c /src/common/file_util.cpp | |
| parent | d9b4b4953850f6b4c6c55ba02d078317f1699e31 (diff) | |
common/file_util: Make IOFile's WriteString take a std::string_view
We don't need to force the usage of a std::string here, and can instead
use a std::string_view, which allows writing out other forms of strings
(e.g. C-style strings) without any unnecessary heap allocations.
Diffstat (limited to 'src/common/file_util.cpp')
0 files changed, 0 insertions, 0 deletions
