AnalyzerBase: Remove static_cast

This commit is contained in:
Jonas Kvinge 2024-06-12 17:39:37 +02:00
parent b233600b8c
commit c52a802b83
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ void AnalyzerBase::ChangeTimeout(const int timeout) {
void AnalyzerBase::transform(Scope &scope) {
QVector<float> aux(fht_->size());
if (static_cast<unsigned long int>(aux.size()) >= scope.size()) {
if (aux.size() >= scope.size()) {
std::copy(scope.begin(), scope.end(), aux.begin());
}
else {