From c3da6d6e4179b93e9807bfcd352cb573ca135ce0 Mon Sep 17 00:00:00 2001 From: "R. Martinho Fernandes" Date: Mon, 27 Feb 2017 18:32:42 +0100 Subject: [PATCH] Add missing typename --- include/internal/catch_capture.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/internal/catch_capture.hpp b/include/internal/catch_capture.hpp index ef0fcc7c..f54768b1 100644 --- a/include/internal/catch_capture.hpp +++ b/include/internal/catch_capture.hpp @@ -104,7 +104,7 @@ static_cast(expr); \ __catchResult.captureResult( Catch::ResultWas::DidntThrowException ); \ } \ - catch( Catch::add_const::type>::type ) { \ + catch( typename Catch::add_const::type>::type ) { \ __catchResult.captureResult( Catch::ResultWas::Ok ); \ } \ catch( ... ) { \