[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2025-08-31 12:41:57 +00:00
parent a8c41df171
commit 117b4821c2
2 changed files with 2 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ std::string Persistence::validateXMLString(const std::string& str)
std::u32string cp_out;
cp_out.reserve(cp_in.size());
for (auto cp : cp_in) {
if (std::any_of(validRanges.begin(), validRanges.end(), [cp](const auto& range){
if (std::any_of(validRanges.begin(), validRanges.end(), [cp](const auto& range) {
return cp >= range.first && cp <= range.second;
})) {
cp_out += cp;