mirror of
https://github.com/boostorg/throw_exception.git
synced 2025-07-17 22:32:17 +02:00
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
|
struct
|
||||||
my_exception
|
my_exception
|
||||||
{
|
{
|
||||||
};
|
};
|
||||||
|
|
||||||
void
|
void
|
||||||
tester()
|
tester()
|
||||||
{
|
{
|
||||||
//Must not compile, throw_exception requires exception types to derive std::exception.
|
//Must not compile, throw_exception requires exception types to derive std::exception.
|
||||||
boost::throw_exception(my_exception());
|
boost::throw_exception(my_exception());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user