Fixed MinGW error by moving method implementation of class template into cpp file.

This commit is contained in:
Mat Sutcliffe
2018-11-06 20:07:44 +00:00
committed by Klaus Basan
parent df563d5b29
commit 42aa521289
2 changed files with 7 additions and 1 deletions

View File

@@ -346,6 +346,12 @@ namespace BlackMisc
}
}
template<class OBJ, class CONTAINER>
void ITimestampObjectList<OBJ, CONTAINER>::setSortHint(HintTimestampSort hint)
{
m_tsSortHint = hint;
}
template<class OBJ, class CONTAINER>
MillisecondsMinMaxMean ITimestampObjectList<OBJ, CONTAINER>::getTimestampDifferenceMinMaxMean() const
{

View File

@@ -147,7 +147,7 @@ namespace BlackMisc
void addMsecs(qint64 msToAdd);
//! Set the hint
void setSortHint(HintTimestampSort hint) { m_tsSortHint = hint; }
void setSortHint(HintTimestampSort hint);
//! Difference of timestamp values
//! \cond timestamp list has to be sorted to get meaningful values