Skip to content

Commit

Permalink
Add missing inline
Browse files Browse the repository at this point in the history
  • Loading branch information
martinmoene committed Apr 1, 2014
1 parent 51c897f commit c02549a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions lest_cpp03.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <typename C> test const * begin( C const & c ) { return &c[0]; }
template <typename C> test const * end( C const & c ) { return begin( c ) + lest_DIMENSION_OF( c ); }
Expand Down

0 comments on commit c02549a

Please sign in to comment.