aboutsummaryrefslogtreecommitdiffstats
path: root/al/event.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-08 04:33:32 -0800
committerChris Robinson <[email protected]>2023-12-08 04:33:32 -0800
commit8f661a2f59e63cbed540b512dc564a3aca7c4211 (patch)
tree8c8fbd2be037eaaf254feabe061642bea96c4bd2 /al/event.cpp
parent5b5b948516f7340810ebbfdd5e46eb40f85d2e56 (diff)
Fix some clang-tidy warnings
Diffstat (limited to 'al/event.cpp')
-rw-r--r--al/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/event.cpp b/al/event.cpp
index 8b76ceff..95b07dc2 100644
--- a/al/event.cpp
+++ b/al/event.cpp
@@ -118,7 +118,7 @@ int EventThread(ALCcontext *context)
};
auto proc_disconnect = [context,enabledevts](AsyncDisconnectEvent &evt)
{
- const std::string_view message{evt.msg};
+ const std::string_view message{evt.msg.data()};
context->debugMessage(DebugSource::System, DebugType::Error, 0,
DebugSeverity::High, message);