From c02549a2618070344ba2f73f15202e9a93e40b03 Mon Sep 17 00:00:00 2001 From: Martin Moene Date: Tue, 1 Apr 2014 10:02:40 +0200 Subject: [PATCH] Add missing inline --- CHANGES.txt | 7 ++++++- lest_cpp03.hpp | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) 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 ); }