From 86e8ecd2e2ab9e20b81c817a152fc943f28ab681 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Tue, 6 Feb 2018 00:12:35 +0100 Subject: [PATCH] Formatting and typo fixes --- src/blackmisc/orderable.h | 2 +- src/blackmisc/timestampobjectlist.h | 8 ++++---- tests/blackmisc/testcontainers.cpp | 2 -- tests/blackmisc/testinterpolator.h | 3 --- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/blackmisc/orderable.h b/src/blackmisc/orderable.h index d6e5ca76c..de9d3f3e4 100644 --- a/src/blackmisc/orderable.h +++ b/src/blackmisc/orderable.h @@ -27,7 +27,7 @@ namespace BlackMisc //! Properties by index enum ColumnIndex { - IndexOrder = BlackMisc::CPropertyIndex::GlobalIndexIOrderable, + IndexOrder = CPropertyIndex::GlobalIndexIOrderable, IndexOrderString }; diff --git a/src/blackmisc/timestampobjectlist.h b/src/blackmisc/timestampobjectlist.h index 3630272ef..6bc44f6e7 100644 --- a/src/blackmisc/timestampobjectlist.h +++ b/src/blackmisc/timestampobjectlist.h @@ -95,11 +95,11 @@ namespace BlackMisc //! Insert as first element by keeping maxElements and the latest first void push_frontKeepLatestFirst(const OBJ &value, int maxElements = -1); - //! Is completelty sorted: latest last + //! Is completely sorted: latest last //! \remark all object must have a valid timestamp bool isSortedLatestLast() const; - //! Is completelty sorted: latest last + //! Is completely sorted: latest last //! \remark all object must have a valid timestamp bool isSortedLatestFirst() const; @@ -128,11 +128,11 @@ namespace BlackMisc //! Insert as first element by keeping maxElements and the latest first void push_frontKeepLatestAdjustedFirst(const OBJ &value, int maxElements = -1); - //! Is completelty sorted: latest last + //! Is completely sorted: latest last //! \remark all object must have a valid timestamp bool isSortedAdjustedLatestLast() const; - //! Is completelty sorted: latest last + //! Is completely sorted: latest last //! \remark all object must have a valid timestamp bool isSortedAdjustedLatestFirst() const; diff --git a/tests/blackmisc/testcontainers.cpp b/tests/blackmisc/testcontainers.cpp index 42d22a956..db42a1e2b 100644 --- a/tests/blackmisc/testcontainers.cpp +++ b/tests/blackmisc/testcontainers.cpp @@ -46,7 +46,6 @@ using namespace BlackMisc::Aviation; namespace BlackMiscTest { - void CTestContainers::collectionBasics() { CCollection c1; @@ -267,7 +266,6 @@ namespace BlackMiscTest QVERIFY2(situations.front().getMSecsSinceEpoch() == cTs, "Wrong front element"); } } - } } //namespace diff --git a/tests/blackmisc/testinterpolator.h b/tests/blackmisc/testinterpolator.h index 0f2338208..3f55f5104 100644 --- a/tests/blackmisc/testinterpolator.h +++ b/tests/blackmisc/testinterpolator.h @@ -26,7 +26,6 @@ namespace BlackMisc { namespace Aviation { class CCallsign; } } namespace BlackMiscTest { - /*! * Interpolator classes basic tests */ @@ -48,9 +47,7 @@ namespace BlackMiscTest //! Test parts static BlackMisc::Aviation::CAircraftParts getTestParts(int number, qint64 ts, qint64 deltaT); - }; - } // namespace //! \endcond