Ref T275 testaircraftsituation: detach lists to get meaningful benchmark results.

This commit is contained in:
Mat Sutcliffe
2018-12-29 01:13:38 +00:00
parent b87b3177d3
commit 4f2579b812
3 changed files with 12 additions and 2 deletions

View File

@@ -533,6 +533,9 @@ namespace BlackMisc
return separateBy([k](const T &v) { return v.*k; });
}
//! \private Calls detach on the internal QVector.
void detach() { m_impl.detach(); }
//! Equals operator.
friend bool operator ==(const CSequence &a, const CSequence &b) { return a.m_impl == b.m_impl; }