mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-08 20:40:11 +02:00
Use the new C++20 starts_with() and contains()
This commit is contained in:
@@ -203,7 +203,7 @@ void GroupBridge::accept_requests() {
|
||||
|
||||
// Collisions in the generated socket names should be very rare, but
|
||||
// it could in theory happen
|
||||
assert(active_plugins.find(request) == active_plugins.end());
|
||||
assert(!active_plugins.contains(request));
|
||||
|
||||
// The plugin has to be initiated on the IO context's thread because
|
||||
// this has to be done on the same thread that's handling messages,
|
||||
|
||||
Reference in New Issue
Block a user