From 588d26937b48c9a0b4bbcd974979c1fda5fa3a55 Mon Sep 17 00:00:00 2001 From: Benjamin Nauck Date: Mon, 24 Mar 2025 21:08:33 +0100 Subject: [PATCH] Gui: Use contains instead of std::find --- src/Gui/DocumentRecovery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/DocumentRecovery.cpp b/src/Gui/DocumentRecovery.cpp index fa097b7cc6..4af53f9bb4 100644 --- a/src/Gui/DocumentRecovery.cpp +++ b/src/Gui/DocumentRecovery.cpp @@ -484,7 +484,7 @@ DocumentRecoveryPrivate::XmlConfig DocumentRecoveryPrivate::readXmlFile(const QS while (!child.isNull()) { QString name = child.localName(); const QString value = child.text(); - if (std::ranges::find(filter, name) != filter.end()) + if (filter.contains(name)) cfg[name] = value; child = child.nextSiblingElement(); }