diff options
author | onqtam <vik.kirilov@gmail.com> | 2017-04-19 21:41:31 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2017-05-16 00:22:21 +0300 |
commit | f71532533f74aaeae269d9013ccbc9752dbc751a (patch) | |
tree | f5e911f04c86602cb1ba8329e4419347b27bb91a /examples | |
parent | c79b7540c252e7cda51fea5c406182fe1f2a8f4c (diff) |
builds should definitely be fixed now...
Diffstat (limited to 'examples')
-rw-r--r-- | examples/all_features/templated_test_cases.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/all_features/templated_test_cases.cpp b/examples/all_features/templated_test_cases.cpp index c77425b6..15eaf78b 100644 --- a/examples/all_features/templated_test_cases.cpp +++ b/examples/all_features/templated_test_cases.cpp @@ -56,8 +56,8 @@ typedef doctest::Types< TEST_CASE_TEMPLATE("multiple types", T, pairs) { typedef typename T::A T1; typedef typename T::B T2; - T1 t1; - T2 t2; + T1 t1 = T1(); + T2 t2 = T2(); // use T1 and T2 types CHECK(t1 == T1()); CHECK(t2 != T2()); @@ -71,8 +71,8 @@ TYPE_TO_STRING(int_pair); TEST_CASE_TEMPLATE("bad stringification of type pair", T, doctest::Types<int_pair>) { typedef typename T::A T1; typedef typename T::B T2; - T1 t1; - T2 t2; + T1 t1 = T1(); + T2 t2 = T2(); // use T1 and T2 types CHECK(t1 == T1()); CHECK(t2 != T2()); |