Codechange: replace char* with std::string_view

This commit is contained in:
Rubidium
2025-04-27 18:31:42 +02:00
committed by rubidium42
parent e1859df1c0
commit 49ef3eee13
25 changed files with 53 additions and 49 deletions

View File

@@ -73,7 +73,7 @@ static void SurveyRecentNews(nlohmann::json &json)
* @param with_dir Whether to prepend the filename with the personal directory.
* @return The filename
*/
std::string CrashLog::CreateFileName(const char *ext, bool with_dir) const
std::string CrashLog::CreateFileName(std::string_view ext, bool with_dir) const
{
static std::string crashname;