diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-23 13:52:40 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-05-23 13:52:43 -0400 |
| commit | 44c3616ff700ebbb1dced3c9536dba92bc4ca26f (patch) | |
| tree | 129596d2ff096166c68af0f39ebf6dda8d7a7ff9 /src/core | |
| parent | 9daa7baef7d7c129025481aab5c82b48861a58a2 (diff) | |
common/file_util: Make ReadFileToString and WriteStringToFile consistent
Makes the parameter ordering consistent, and also makes the filename
parameter a std::string. A std::string would be constructed anyways with
the previous code, as IOFile's only constructor with a filepath is one
taking a std::string.
We can also make WriteStringToFile's string parameter utilize a
std::string_view for the string, making use of our previous changes to
IOFile.
Diffstat (limited to 'src/core')
0 files changed, 0 insertions, 0 deletions
