Use the new C++20 starts_with() and contains()

This commit is contained in:
Robbert van der Helm
2020-06-06 13:29:12 +02:00
parent 8202a6b250
commit 4403585a70
2 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -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,