summaryrefslogtreecommitdiffstats
path: root/binaryurp
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2023-11-18 12:41:05 +0100
committerJulien Nabet <serval2412@yahoo.fr>2023-11-18 18:38:01 +0100
commitc05595d2420b92a428b45cfaf65a3adf88fd8bed (patch)
treecbd2c92a6d3bdc170b8c1921556a257626ed0358 /binaryurp
parentRemove useless using + once use of replace pair by std::pair (diff)
downloadcore-c05595d2420b92a428b45cfaf65a3adf88fd8bed.tar.gz
core-c05595d2420b92a428b45cfaf65a3adf88fd8bed.zip
c++20: use std::erase instead of std::removed followed by erase (part 1)
Change-Id: I8d038fc37a4de25bdeff2e2cc55775e3981240b7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159610 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'binaryurp')
-rw-r--r--binaryurp/source/bridgefactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryurp/source/bridgefactory.cxx b/binaryurp/source/bridgefactory.cxx
index 835c264a9d92..cd43fe592b0e 100644
--- a/binaryurp/source/bridgefactory.cxx
+++ b/binaryurp/source/bridgefactory.cxx
@@ -49,7 +49,7 @@ void BridgeFactory::removeBridge(
osl::MutexGuard g(m_aMutex);
if (n.isEmpty())
{
- unnamed_.erase(std::remove(unnamed_.begin(), unnamed_.end(), bridge), unnamed_.end());
+ std::erase(unnamed_, bridge);
}
else
{