From 9e012e1fdf4885aaa029fe078f264767d889d149 Mon Sep 17 00:00:00 2001 From: Emil Dotchevski Date: Tue, 26 Mar 2013 17:25:10 +0000 Subject: [PATCH] Ticket #8312, thanks Greg Julus [SVN r83588] --- test/throw_exception_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/throw_exception_test.cpp b/test/throw_exception_test.cpp index 37ecef9..c6c0eeb 100644 --- a/test/throw_exception_test.cpp +++ b/test/throw_exception_test.cpp @@ -35,8 +35,8 @@ boost_throw_exception_test() catch( boost::exception & x ) { - char const * const * file=boost::get_error_info(x); - char const * const * function=boost::get_error_info(x); + char const * const * function=boost::get_error_info(x); + char const * const * file=boost::get_error_info(x); int const * line=boost::get_error_info(x); BOOST_TEST( file && *file ); BOOST_TEST( function && *function ); @@ -55,8 +55,8 @@ boost_throw_exception_test() catch( boost::exception & x ) { - char const * const * file=boost::get_error_info(x); - char const * const * function=boost::get_error_info(x); + char const * const * function=boost::get_error_info(x); + char const * const * file=boost::get_error_info(x); int const * line=boost::get_error_info(x); int const * data=boost::get_error_info(x); BOOST_TEST( file && *file );