forked from boostorg/throw_exception
tabs removed, added protected inline dtors.
[SVN r45042]
This commit is contained in:
committed by
Peter Dimov
parent
98ff58cf46
commit
b3ff85a711
@ -7,12 +7,12 @@
|
||||
|
||||
struct
|
||||
my_exception
|
||||
{
|
||||
};
|
||||
{
|
||||
};
|
||||
|
||||
void
|
||||
tester()
|
||||
{
|
||||
//Must not compile, throw_exception requires exception types to derive std::exception.
|
||||
boost::throw_exception(my_exception());
|
||||
//Must not compile, throw_exception requires exception types to derive std::exception.
|
||||
boost::throw_exception(my_exception());
|
||||
}
|
||||
|
Reference in New Issue
Block a user