Convert examples to piecemeal includes

This commit is contained in:
Martin Hořeňovský 2020-01-21 14:46:07 +01:00
parent 26f78f96aa
commit 17281c09c3
No known key found for this signature in database
GPG key ID: DE48307B8B0D381A
8 changed files with 22 additions and 13 deletions

View file

@ -10,7 +10,9 @@
// Let Catch provide the required interfaces:
#define CATCH_CONFIG_EXTERNAL_INTERFACES
#include <catch2/catch.hpp>
#include <catch2/catch_test_macros.hpp>
#include <catch2/reporters/catch_reporter_bases.hpp>
#include <catch2/catch_reporter_registrars.hpp>
#include <iostream>
// -----------------------------------------------------------------------
@ -306,7 +308,7 @@ char const * dashed_line =
struct MyListener : Catch::TestEventListenerBase {
using TestEventListenerBase::TestEventListenerBase; // inherit constructor
// Get rid of Wweak-tables
~MyListener();