diff --git a/src/intrusive_flat_map.h b/src/intrusive_flat_map.h index 4d1ead86..5f0108b8 100644 --- a/src/intrusive_flat_map.h +++ b/src/intrusive_flat_map.h @@ -102,7 +102,6 @@ namespace etl { public: - typedef size_t size_type; typedef std::pair value_type; private: diff --git a/src/intrusive_flat_multimap.h b/src/intrusive_flat_multimap.h index c95ec1e1..3e4ff28f 100644 --- a/src/intrusive_flat_multimap.h +++ b/src/intrusive_flat_multimap.h @@ -82,7 +82,6 @@ namespace etl public: typedef std::pair value_type; - typedef size_t size_type; private: @@ -859,4 +858,4 @@ namespace etl #undef ETL_FILE -#endif \ No newline at end of file +#endif diff --git a/src/intrusive_flat_multiset.h b/src/intrusive_flat_multiset.h index 0bef8e47..a4f7d323 100644 --- a/src/intrusive_flat_multiset.h +++ b/src/intrusive_flat_multiset.h @@ -278,11 +278,6 @@ namespace etl return temp; } - reference operator *() - { - return *(*ilookup); - } - const_reference operator *() const { return *(*ilookup); @@ -647,7 +642,7 @@ namespace etl { return std::lower_bound(cbegin(), cend(), key, TKeyCompare()); } - + //********************************************************************* /// Finds the upper bound of a key ///\param key The key to search for. @@ -813,7 +808,7 @@ namespace etl private: typedef TKey value_type; - + // The vector that stores pointers to the nodes. etl::vector lookup; }; diff --git a/src/intrusive_flat_set.h b/src/intrusive_flat_set.h index f66a5c24..46a888b6 100644 --- a/src/intrusive_flat_set.h +++ b/src/intrusive_flat_set.h @@ -278,11 +278,6 @@ namespace etl return temp; } - reference operator *() - { - return *(*ilookup); - } - const_reference operator *() const { return *(*ilookup); @@ -657,7 +652,7 @@ namespace etl { return std::lower_bound(cbegin(), cend(), key, TKeyCompare()); } - + //********************************************************************* /// Finds the upper bound of a key ///\param key The key to search for. @@ -823,7 +818,7 @@ namespace etl private: typedef TKey value_type; - + // The vector that stores pointers to the nodes. etl::vector lookup; }; diff --git a/test/ExtraCheckMacros.h b/test/ExtraCheckMacros.h index 20990f06..b8051f6a 100644 --- a/test/ExtraCheckMacros.h +++ b/test/ExtraCheckMacros.h @@ -1,14 +1,14 @@ #ifndef UNITTEST_EXTRA_CHECKMACROS_H #define UNITTEST_EXTRA_CHECKMACROS_H -#include -#include -#include -#include -#include -#include -#include -#include +#include "../unittest-cpp/UnitTest++/HelperMacros.h" +#include "../unittest-cpp/UnitTest++/ExceptionMacros.h" +#include "../unittest-cpp/UnitTest++/Checks.h" +#include "../unittest-cpp/UnitTest++/AssertException.h" +#include "../unittest-cpp/UnitTest++/MemoryOutStream.h" +#include "../unittest-cpp/UnitTest++/TestDetails.h" +#include "../unittest-cpp/UnitTest++/CurrentTest.h" +#include "../unittest-cpp/UnitTest++/ReportAssertImpl.h" #ifndef CHECK_NO_THROW #define CHECK_NO_THROW(expression) \ diff --git a/test/codeblocks/ETL.cbp b/test/codeblocks/ETL.cbp index c5c03d8e..61bbedcc 100644 --- a/test/codeblocks/ETL.cbp +++ b/test/codeblocks/ETL.cbp @@ -13,12 +13,17 @@