mirror of
https://github.com/boostorg/more.git
synced 2025-01-29 04:50:09 +08:00
typo. made the what() method in the code-snippet const declared.
[SVN r25161]
This commit is contained in:
parent
23e08ccdf3
commit
9a1a938ef2
@ -75,8 +75,8 @@
|
|||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
struct my_exc1 : std::exception { char const* what() throw(); };
|
struct my_exc1 : std::exception { char const* what() const throw(); };
|
||||||
struct my_exc2 : std::exception { char const* what() throw(); };
|
struct my_exc2 : std::exception { char const* what() const throw(); };
|
||||||
struct your_exc3 : my_exc1, my_exc2 {};
|
struct your_exc3 : my_exc1, my_exc2 {};
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
|
Loading…
Reference in New Issue
Block a user