summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2022-05-19 22:08:12 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2022-05-19 22:08:27 +0200
commit28ff6fa48469e6595bc619e0785d9546e6b87494 (patch)
tree41363086e08a33cab2e6b320b5feab8d718a9693 /src
parentTranslated using Weblate (Indonesian) (diff)
downloadnheko-28ff6fa48469e6595bc619e0785d9546e6b87494.tar.xz
Fix bad format string
Diffstat (limited to 'src')
-rw-r--r--src/voip/CallDevices.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/voip/CallDevices.cpp b/src/voip/CallDevices.cpp

index b0c90d84..4ab3adc5 100644 --- a/src/voip/CallDevices.cpp +++ b/src/voip/CallDevices.cpp
@@ -157,8 +157,7 @@ removeDevice(T &sources, GstDevice *device, bool changed) if (auto it = std::find_if( sources.begin(), sources.end(), [device](const auto &s) { return s.device == device; }); it != sources.end()) { - nhlog::ui()->debug( - std::string("WebRTC: device ") + (changed ? "changed: " : "removed: ") + "{}", it->name); + nhlog::ui()->debug("WebRTC: device {}: {}", (changed ? "changed" : "removed"), it->name); gst_object_unref(device); sources.erase(it); return true;