Add missing iostream include in a README example, closes #218
This commit is contained in:
parent
1940dc607a
commit
e6d55b5e7d
@ -465,6 +465,8 @@ thrown exception object, with minimal or no overhead in the non-throwing path:
|
|||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
#include <cpptrace/from_current.hpp>
|
#include <cpptrace/from_current.hpp>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
void foo() {
|
void foo() {
|
||||||
throw std::runtime_error("foo failed");
|
throw std::runtime_error("foo failed");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user