From c52a802b838e119bb9120e55c2b0841919d4c91e Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Wed, 12 Jun 2024 17:39:37 +0200 Subject: [PATCH] AnalyzerBase: Remove static_cast --- src/analyzer/analyzerbase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyzer/analyzerbase.cpp b/src/analyzer/analyzerbase.cpp index 5b9274b52..a80590e00 100644 --- a/src/analyzer/analyzerbase.cpp +++ b/src/analyzer/analyzerbase.cpp @@ -88,7 +88,7 @@ void AnalyzerBase::ChangeTimeout(const int timeout) { void AnalyzerBase::transform(Scope &scope) { QVector aux(fht_->size()); - if (static_cast(aux.size()) >= scope.size()) { + if (aux.size() >= scope.size()) { std::copy(scope.begin(), scope.end(), aux.begin()); } else {