From da86ddc6207dc8c6980c8acf911ffeaaf1247134 Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Mon, 27 Nov 2017 22:28:45 +0300 Subject: [PATCH] Fixed accidental const & formating --- include/internal/catch_assertionhandler.cpp | 2 +- include/internal/catch_assertionhandler.h | 2 +- include/internal/catch_run_context.cpp | 2 +- include/internal/catch_run_context.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/internal/catch_assertionhandler.cpp b/include/internal/catch_assertionhandler.cpp index b14f7a23..b174c40e 100644 --- a/include/internal/catch_assertionhandler.cpp +++ b/include/internal/catch_assertionhandler.cpp @@ -69,7 +69,7 @@ namespace Catch { void AssertionHandler::handleExpr( ITransientExpression const& expr ) { m_resultCapture.handleExpr( m_assertionInfo, expr, m_reaction ); } - void AssertionHandler::handleMessage(ResultWas::OfType resultType, StringRef const &message) { + void AssertionHandler::handleMessage(ResultWas::OfType resultType, StringRef const& message) { m_resultCapture.handleMessage( m_assertionInfo, resultType, message, m_reaction ); } diff --git a/include/internal/catch_assertionhandler.h b/include/internal/catch_assertionhandler.h index 6ea7d6f6..f05c3b40 100644 --- a/include/internal/catch_assertionhandler.h +++ b/include/internal/catch_assertionhandler.h @@ -60,7 +60,7 @@ namespace Catch { } void handleExpr( ITransientExpression const& expr ); - void handleMessage(ResultWas::OfType resultType, StringRef const &message); + void handleMessage(ResultWas::OfType resultType, StringRef const& message); void handleExceptionThrownAsExpected(); void handleUnexpectedExceptionNotThrown(); diff --git a/include/internal/catch_run_context.cpp b/include/internal/catch_run_context.cpp index b12f26fa..7a84940c 100644 --- a/include/internal/catch_run_context.cpp +++ b/include/internal/catch_run_context.cpp @@ -369,7 +369,7 @@ namespace Catch { void RunContext::handleMessage( AssertionInfo const& info, ResultWas::OfType resultType, - StringRef const &message, + StringRef const& message, AssertionReaction& reaction ) { m_reporter->assertionStarting( info ); diff --git a/include/internal/catch_run_context.h b/include/internal/catch_run_context.h index 9ef101e4..37e1d1c9 100644 --- a/include/internal/catch_run_context.h +++ b/include/internal/catch_run_context.h @@ -83,7 +83,7 @@ namespace Catch { void handleMessage ( AssertionInfo const& info, ResultWas::OfType resultType, - StringRef const &message, + StringRef const& message, AssertionReaction& reaction ); void handleUnexpectedExceptionNotThrown ( AssertionInfo const& info,