From 8dd2f8e8fa3ba2582257253f15119dac8f04c0cc Mon Sep 17 00:00:00 2001 From: mosfet80 Date: Wed, 17 Apr 2024 08:13:45 +0200 Subject: [PATCH] [App] clean removed dead code --- src/App/MappedName.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/App/MappedName.cpp b/src/App/MappedName.cpp index 88d326bfa8..968bfd4850 100644 --- a/src/App/MappedName.cpp +++ b/src/App/MappedName.cpp @@ -30,7 +30,6 @@ #include "Base/Console.h" -//#include #include #include @@ -47,15 +46,6 @@ void MappedName::compact() const self->data = QByteArray(self->data.constData(), self->data.size()); self->raw = false; } - -#if 0 - static std::unordered_set PostfixSet; - if (this->postfix.size()) { - auto res = PostfixSet.insert(this->postfix); - if (!res.second) - self->postfix = *res.first; - } -#endif } @@ -230,4 +220,4 @@ int MappedName::findTagInElementName(long* tagOut, int* lenOut, std::string* pos return pos; } -} \ No newline at end of file +}