From a204f392c983e132f46c82c5890eae5f2d4dbb50 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 1 Jun 2022 22:09:13 +0200 Subject: [PATCH] Minor simplification in multidircollection.cpp --- components/files/multidircollection.cpp | 17 +---------------- components/files/multidircollection.hpp | 16 +--------------- 2 files changed, 2 insertions(+), 31 deletions(-) diff --git a/components/files/multidircollection.cpp b/components/files/multidircollection.cpp index 98e25fcc86..a052b3016e 100644 --- a/components/files/multidircollection.cpp +++ b/components/files/multidircollection.cpp @@ -16,22 +16,7 @@ namespace Files { if (mStrict) return left==right; - - std::size_t len = left.length(); - - if (len!=right.length()) - return false; - - for (std::size_t i=0; ir) - return false; - } - - return left.length()