Skip to content

Commit 378cfac

Browse files
authored
fix dnd-character: make matcher for catch2 v2 and v3 compatible (#815)
1 parent 6342754 commit 378cfac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

exercises/practice/dnd-character/dnd_character_test.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,11 @@
77

88
#include <sstream>
99

10+
using namespace Catch;
11+
using namespace Catch::Matchers;
12+
1013
template <typename T>
11-
class IsBetweenMatcher : public Catch::MatcherBase<T> {
14+
class IsBetweenMatcher : public MatcherBase<T> {
1215
T m_begin, m_end;
1316
public:
1417
IsBetweenMatcher(T begin, T end) :

0 commit comments

Comments
 (0)