mirror of https://git.suyu.dev/suyu/suyu
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.merge-requests/60/head
parent
e3b2539986
commit
2b1fcc8a14
Loading…
Reference in New Issue