From dadf0fef616b59480883c5fc9ec82258bf7dbf8b Mon Sep 17 00:00:00 2001 From: Ben Deane Date: Mon, 16 Dec 2024 09:22:37 -0700 Subject: [PATCH] :bug: Fix std includes for `GTest.h` Problem: - GTest.h uses constructs from `std::` without including them; in later versions of GoogleTest they are not necessarily transitively included. Solution: - Add includes for: - `iomanip` (`std::left`, `std::setw`) - `iostream` (`std::cout`, `std::endl`) - `tuple` (`std::tie`) - `type_traits` (various e.g. `std::is_same`) --- include/GUnit/GTest.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/GUnit/GTest.h b/include/GUnit/GTest.h index 004549a..4509221 100644 --- a/include/GUnit/GTest.h +++ b/include/GUnit/GTest.h @@ -10,8 +10,12 @@ #include #include +#include +#include #include #include +#include +#include #include "GUnit/Detail/Preprocessor.h" #include "GUnit/Detail/RegexUtils.h"