From 26145fdd1ef3fd8ccfacc7c40153e997f1731b13 Mon Sep 17 00:00:00 2001 From: Nerijus Arlauskas Date: Thu, 22 Sep 2016 15:54:52 +0300 Subject: [PATCH] Fix return type in tests. --- tests/result_into_err_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/result_into_err_tests.cpp b/tests/result_into_err_tests.cpp index 092ba38..8ff78d6 100644 --- a/tests/result_into_err_tests.cpp +++ b/tests/result_into_err_tests.cpp @@ -28,7 +28,7 @@ TEST_CASE("result_into_err") SECTION("converts result::err to result::err") { auto a = result::err(42); - auto b = a.into_err>(); + auto b = a.into_err(); REQUIRE(!b); REQUIRE(42 == b.err_value()); }