diff options
| author | Martin Hořeňovský | 2020-02-14 10:32:30 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2020-02-14 16:15:47 +0100 |
| commit | db1a0465dc39e8aed36852984c14072192750b1d (patch) | |
| tree | 33871677f9b2e5177472bcee92a9f107643ed74e /examples | |
| parent | b2a6523d85ec5f4614acdd3176c2f8ed7a669f7b (diff) | |
| download | catch3-db1a0465dc39e8aed36852984c14072192750b1d.tar.gz | |
Outline GeneratorException from generators header
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/301-Gen-MapTypeConversion.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/301-Gen-MapTypeConversion.cpp b/examples/301-Gen-MapTypeConversion.cpp index 66f582d6..56434a0d 100644 --- a/examples/301-Gen-MapTypeConversion.cpp +++ b/examples/301-Gen-MapTypeConversion.cpp @@ -18,7 +18,7 @@ public: LineGenerator() { m_stream.str("1\n2\n3\n4\n"); if (!next()) { - throw Catch::GeneratorException("Couldn't read a single line"); + Catch::Generators::Detail::throw_generator_exception("Couldn't read a single line"); } } |