From 84504520812c3466f87814d45df49a6f2c1d1be7 Mon Sep 17 00:00:00 2001 From: Joseph Huang Date: Tue, 21 May 2024 23:17:44 -0400 Subject: [PATCH] update doctest and fix compile by adding missing header stdexcept --- tests/doctest | 2 +- tests/test_exceptions.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/doctest b/tests/doctest index d5aa2bf..ae7a135 160000 --- a/tests/doctest +++ b/tests/doctest @@ -1 +1 @@ -Subproject commit d5aa2bfb8f00b6260296a754af3a3a98d93f7b67 +Subproject commit ae7a13539fb71f270b87eb2e874fbac80bc8dda2 diff --git a/tests/test_exceptions.cpp b/tests/test_exceptions.cpp index 1be8e64..933deea 100644 --- a/tests/test_exceptions.cpp +++ b/tests/test_exceptions.cpp @@ -7,6 +7,7 @@ #include "doctest/doctest.h" #include "tdp/pipeline.hpp" +#include struct thrower { int count = 0; @@ -67,4 +68,4 @@ static_assert(noexcept(tdp::producer{produce} >> passthrough >> passthrough)); static_assert(!noexcept(tdp::producer{produce} >> passthrough >> tdp::consumer{consume})); static_assert(!noexcept(tdp::producer{produce} >> tdp::consumer{consume})); -} // namespace static_tests \ No newline at end of file +} // namespace static_tests