diff --git a/CHANGES.txt b/CHANGES.txt index 462dae9..f844ceb 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,9 +1,14 @@ Changes for lest – lest errors escape testing +version 1.7.5 2014-04-01 + +- Add missing inline to begin() and end() functions (lest_cpp03.hpp). + + version 1.7.4 2014-04-01 -- Add missing inline to to_string() functions. +- Add missing inline to to_string() functions (lest_decompose.hpp, lest_cpp03.hpp). version 1.7.3 2014-02-06 diff --git a/lest_cpp03.hpp b/lest_cpp03.hpp index db8ca7b..e9bacd7 100644 --- a/lest_cpp03.hpp +++ b/lest_cpp03.hpp @@ -191,8 +191,8 @@ inline void report( std::ostream & os, message const & e, std::string test ) // Traversal of test_specification and test[N] set up to also work with MSVC6: -test_specification::const_iterator begin( test_specification const & c ) { return c.begin(); } -test_specification::const_iterator end( test_specification const & c ) { return c.end(); } +inline test_specification::const_iterator begin( test_specification const & c ) { return c.begin(); } +inline test_specification::const_iterator end( test_specification const & c ) { return c.end(); } template test const * begin( C const & c ) { return &c[0]; } template test const * end( C const & c ) { return begin( c ) + lest_DIMENSION_OF( c ); }