From 044806f3e247b5ec9d99921b4f939dac93729092 Mon Sep 17 00:00:00 2001 From: Milot Mirdita Date: Tue, 9 Jul 2024 23:52:15 +0900 Subject: [PATCH] Fix GCC 14 warnings --- lib/mmseqs/src/commons/MultiParam.h | 16 ++++++++-------- .../src/prefiltering/CacheFriendlyOperations.cpp | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/mmseqs/src/commons/MultiParam.h b/lib/mmseqs/src/commons/MultiParam.h index 989ea2fc..966b4f71 100644 --- a/lib/mmseqs/src/commons/MultiParam.h +++ b/lib/mmseqs/src/commons/MultiParam.h @@ -23,21 +23,21 @@ class NuclAA { T first; T second; - NuclAA(const NuclAA &value) { + NuclAA(const NuclAA &value) { this->first = value.first; this->second = value.second; } static const T max; - NuclAA() {} + NuclAA() {} - NuclAA(T first) { + NuclAA(T first) { this->first = first; this->second = first; } - NuclAA(T first, T second) { + NuclAA(T first, T second) { this->first = first; this->second = second; } @@ -88,21 +88,21 @@ class SeqProf { T first; T second; - SeqProf(const SeqProf &value) { + SeqProf(const SeqProf &value) { this->first = value.first; this->second = value.second; } static const T max; - SeqProf() {} + SeqProf() {} - SeqProf(T first) { + SeqProf(T first) { this->first = first; this->second = first; } - SeqProf(T first, T second) { + SeqProf(T first, T second) { this->first = first; this->second = second; } diff --git a/lib/mmseqs/src/prefiltering/CacheFriendlyOperations.cpp b/lib/mmseqs/src/prefiltering/CacheFriendlyOperations.cpp index 139c8ab5..61abc40f 100644 --- a/lib/mmseqs/src/prefiltering/CacheFriendlyOperations.cpp +++ b/lib/mmseqs/src/prefiltering/CacheFriendlyOperations.cpp @@ -27,7 +27,7 @@ CacheFriendlyOperations::CacheFriendlyOperations(size_t maxElement, siz } template -CacheFriendlyOperations::~CacheFriendlyOperations(){ +CacheFriendlyOperations::~CacheFriendlyOperations(){ delete[] duplicateBitArray; delete[] binDataFrame; delete[] tmpElementBuffer;