diff options
author | Chris Robinson <[email protected]> | 2023-08-18 18:40:08 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-08-18 18:40:08 -0700 |
commit | bb841f02fb06148bba422e92a9b1a6b46ab3bde3 (patch) | |
tree | ab2f44bf7f64a876a3839bef1ea3d1c4ebcc79e3 /alc | |
parent | bfb79945d0ed7450ad3e93941f6576ce1cc4058b (diff) |
Use a string instead of a c_str for a string_view
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index 6163e004..9dc99a5d 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -366,7 +366,7 @@ void alc_initconfig(void) if(logf) gLogFile = logf; else { - auto u8name = wstr_to_utf8(logfile->c_str()); + auto u8name = wstr_to_utf8(*logfile); ERR("Failed to open log file '%s'\n", u8name.c_str()); } } |