mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-04 06:15:41 +02:00
Add missing <cassert> includes
Until recently we were probably getting it from some transitive include, but it broke. Because all files should include what they use anyway, adding `#include <cassert>` to all files that use `assert()` without including it is the best solution. Fixes #1249
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
#include "catch_interfaces_registry_hub.h"
|
||||
#include "catch_wildcard_pattern.hpp"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
namespace Catch {
|
||||
|
||||
ResultBuilder::ResultBuilder( char const* macroName,
|
||||
|
@@ -22,7 +22,7 @@
|
||||
#include "catch_result_builder.h"
|
||||
#include "catch_fatal_condition.hpp"
|
||||
|
||||
|
||||
#include <cassert>
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
|
Reference in New Issue
Block a user