Skip to content

Commit

Permalink
Fix GCC 14 template warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Jul 9, 2024
1 parent 36ac6b5 commit 9c04ae4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/commons/MultiParam.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ class NuclAA {
T first;
T second;

NuclAA<T>(const NuclAA<T> &value) {
NuclAA(const NuclAA<T> &value) {
this->first = value.first;
this->second = value.second;
}

static const T max;

NuclAA<T>() {}
NuclAA() {}

NuclAA<T>(T first) {
NuclAA(T first) {
this->first = first;
this->second = first;
}

NuclAA<T>(T first, T second) {
NuclAA(T first, T second) {
this->first = first;
this->second = second;
}
Expand Down Expand Up @@ -88,21 +88,21 @@ class SeqProf {
T first;
T second;

SeqProf<T>(const SeqProf<T> &value) {
SeqProf(const SeqProf<T> &value) {
this->first = value.first;
this->second = value.second;
}

static const T max;

SeqProf<T>() {}
SeqProf() {}

SeqProf<T>(T first) {
SeqProf(T first) {
this->first = first;
this->second = first;
}

SeqProf<T>(T first, T second) {
SeqProf(T first, T second) {
this->first = first;
this->second = second;
}
Expand Down
2 changes: 1 addition & 1 deletion src/prefiltering/CacheFriendlyOperations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ CacheFriendlyOperations<BINSIZE>::CacheFriendlyOperations(size_t maxElement, siz
}

template<unsigned int BINSIZE>
CacheFriendlyOperations<BINSIZE>::~CacheFriendlyOperations<BINSIZE>(){
CacheFriendlyOperations<BINSIZE>::~CacheFriendlyOperations(){
delete[] duplicateBitArray;
delete[] binDataFrame;
delete[] tmpElementBuffer;
Expand Down

0 comments on commit 9c04ae4

Please sign in to comment.