diff options
Diffstat (limited to 'libs/fusion/test/sequence/iterator.hpp')
-rw-r--r-- | libs/fusion/test/sequence/iterator.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/fusion/test/sequence/iterator.hpp b/libs/fusion/test/sequence/iterator.hpp index d88b7199fa..d9ef5e0fca 100644 --- a/libs/fusion/test/sequence/iterator.hpp +++ b/libs/fusion/test/sequence/iterator.hpp @@ -1,7 +1,7 @@ /*============================================================================= Copyright (c) 2001-2011 Joel de Guzman - Distributed under the Boost Software License, Version 1.0. (See accompanying + Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #include <string> @@ -22,6 +22,7 @@ void test() { + using boost::fusion::next; using namespace boost::fusion; using namespace boost; @@ -113,7 +114,7 @@ void test() BOOST_TEST(*next(next(next(i))) == s); next(next(next(next(i)))); // end - + #ifdef FUSION_TEST_FAIL next(next(next(next(next(i))))); // past the end: must not compile #endif |