From 1b8b2cc7303509e52937b316196067005b135baa Mon Sep 17 00:00:00 2001 From: GitHub Date: Sat, 27 May 2023 09:45:08 +0000 Subject: [PATCH] Update dependencies --- split-a-circular-linked-list/test.cpp | 10 +++++----- web-crawler-multithreaded/test.cpp | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/split-a-circular-linked-list/test.cpp b/split-a-circular-linked-list/test.cpp index b5c3f0d9..c564c579 100644 --- a/split-a-circular-linked-list/test.cpp +++ b/split-a-circular-linked-list/test.cpp @@ -24,10 +24,10 @@ concept sizable = requires(T& t) } -> std::same_as; }; template -concept iterable =std::ranges::input_range&& requires(T& t) +concept iterable = std::ranges::input_range && requires(T& t) { { std::begin(t) }; - { std::end(t) } ; + { std::end(t) }; { ++std::begin(t) }; { @@ -44,7 +44,7 @@ concept equalable = requires(T& t, Y& y) } -> std::same_as; }; template - requires sizable and sizable and equalable and iterable and iterable +requires sizable and sizable and equalable and iterable and iterable auto assertContentEquals(T& left, Y& right) { @@ -89,7 +89,7 @@ TEST(split_a_circular_linked_list, test1) #ifdef __TEST__ ListNodeInspector inspector; #endif - + auto input = vector { 1, 5, 7 }; auto output = vector> { { 1, 5 }, { 7 } }; auto* list = ArrayToCircularLinkedList(input); @@ -112,7 +112,7 @@ TEST(split_a_circular_linked_list, test2) #ifdef __TEST__ ListNodeInspector inspector; #endif - + auto input = vector { 2, 6, 1, 5 }; auto output = vector> { { 2, 6 }, { 1, 5 } }; auto* list = ArrayToCircularLinkedList(input); diff --git a/web-crawler-multithreaded/test.cpp b/web-crawler-multithreaded/test.cpp index 27b5fb8e..1b69db72 100644 --- a/web-crawler-multithreaded/test.cpp +++ b/web-crawler-multithreaded/test.cpp @@ -19,10 +19,10 @@ concept sizable = requires(T& t) }; template -concept iterable =std::ranges::input_range&& requires(T& t) +concept iterable = std::ranges::input_range && requires(T& t) { { std::begin(t) }; - { std::end(t) } ; + { std::end(t) }; { ++std::begin(t) }; {