mirror of
https://github.com/boostorg/exception.git
synced 2025-07-13 04:26:44 +02:00
fixed compile errors, removed tabs as required.
[SVN r44114]
This commit is contained in:
@ -10,18 +10,18 @@ typedef boost::error_info<struct tag_test,int> test;
|
||||
|
||||
class
|
||||
my_exception:
|
||||
public boost::exception
|
||||
{
|
||||
};
|
||||
public boost::exception
|
||||
{
|
||||
};
|
||||
|
||||
int
|
||||
main()
|
||||
{
|
||||
my_exception x;
|
||||
x << test(1);
|
||||
std::string w1 = x.what();
|
||||
x << test(2);
|
||||
std::string w2 = x.what();
|
||||
BOOST_TEST( w1!=w2 );
|
||||
return boost::report_errors();
|
||||
}
|
||||
{
|
||||
my_exception x;
|
||||
x << test(1);
|
||||
std::string w1 = x.what();
|
||||
x << test(2);
|
||||
std::string w2 = x.what();
|
||||
BOOST_TEST( w1!=w2 );
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
Reference in New Issue
Block a user