From 42aa52128962f623cb7300d623d7b9ffcb4cb78a Mon Sep 17 00:00:00 2001 From: Mat Sutcliffe Date: Tue, 6 Nov 2018 20:07:44 +0000 Subject: [PATCH] Fixed MinGW error by moving method implementation of class template into cpp file. --- src/blackmisc/timestampobjectlist.cpp | 6 ++++++ src/blackmisc/timestampobjectlist.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/blackmisc/timestampobjectlist.cpp b/src/blackmisc/timestampobjectlist.cpp index cec945049..c2e2709fd 100644 --- a/src/blackmisc/timestampobjectlist.cpp +++ b/src/blackmisc/timestampobjectlist.cpp @@ -346,6 +346,12 @@ namespace BlackMisc } } + template + void ITimestampObjectList::setSortHint(HintTimestampSort hint) + { + m_tsSortHint = hint; + } + template MillisecondsMinMaxMean ITimestampObjectList::getTimestampDifferenceMinMaxMean() const { diff --git a/src/blackmisc/timestampobjectlist.h b/src/blackmisc/timestampobjectlist.h index 1a85ce602..1ab845b80 100644 --- a/src/blackmisc/timestampobjectlist.h +++ b/src/blackmisc/timestampobjectlist.h @@ -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