From 722315a1f576edb19d0a15a758012e7cffb337fb Mon Sep 17 00:00:00 2001 From: Phil Nash Date: Fri, 4 Dec 2015 10:20:33 +0000 Subject: [PATCH] Removed some trailing whitespace --- include/internal/catch_interfaces_exception.h | 2 +- include/internal/catch_matchers.hpp | 10 +++++----- include/internal/catch_test_case_registry_impl.hpp | 4 ++-- projects/SelfTest/ExceptionTests.cpp | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/internal/catch_interfaces_exception.h b/include/internal/catch_interfaces_exception.h index 67247e1e30..186995a30b 100644 --- a/include/internal/catch_interfaces_exception.h +++ b/include/internal/catch_interfaces_exception.h @@ -19,7 +19,7 @@ namespace Catch { struct IExceptionTranslator; typedef std::vector ExceptionTranslators; - + struct IExceptionTranslator { virtual ~IExceptionTranslator(); virtual std::string translate( ExceptionTranslators::const_iterator it, ExceptionTranslators::const_iterator itEnd ) const = 0; diff --git a/include/internal/catch_matchers.hpp b/include/internal/catch_matchers.hpp index 27878612d8..cfc2451aed 100644 --- a/include/internal/catch_matchers.hpp +++ b/include/internal/catch_matchers.hpp @@ -17,7 +17,7 @@ namespace Matchers { template class AnyOf; template class Not; } - + template struct Matcher : SharedImpl { @@ -27,7 +27,7 @@ namespace Matchers { virtual Ptr clone() const = 0; virtual bool match( ExpressionT const& expr ) const = 0; virtual std::string toString() const = 0; - + Generic::AllOf operator && ( Matcher const& other ) const; Generic::AnyOf operator || ( Matcher const& other ) const; Generic::Not operator ! () const; @@ -134,13 +134,13 @@ namespace Matchers { anyOfExpr.add( other ); return anyOfExpr; } - + private: std::vector > > m_matchers; }; } // namespace Generic - + template Generic::AllOf Matcher::operator && ( Matcher const& other ) const { Generic::AllOf allOfExpr; @@ -161,7 +161,7 @@ namespace Matchers { Generic::Not Matcher::operator ! () const { return Generic::Not( *this ); } - + namespace StdString { diff --git a/include/internal/catch_test_case_registry_impl.hpp b/include/internal/catch_test_case_registry_impl.hpp index 728adcb023..43b4ee8070 100644 --- a/include/internal/catch_test_case_registry_impl.hpp +++ b/include/internal/catch_test_case_registry_impl.hpp @@ -157,7 +157,7 @@ namespace Catch { char const* classOrQualifiedMethodName, NameAndDesc const& nameAndDesc, SourceLineInfo const& lineInfo ) { - + getMutableRegistryHub().registerTest ( makeTestCase ( testCase, @@ -172,7 +172,7 @@ namespace Catch { NameAndDesc const& nameAndDesc ) { registerTestCase( new FreeFunctionTestCase( function ), "", nameAndDesc, lineInfo ); } - + /////////////////////////////////////////////////////////////////////////// AutoReg::AutoReg diff --git a/projects/SelfTest/ExceptionTests.cpp b/projects/SelfTest/ExceptionTests.cpp index dfcaa4b8a1..5ef91a1239 100644 --- a/projects/SelfTest/ExceptionTests.cpp +++ b/projects/SelfTest/ExceptionTests.cpp @@ -113,12 +113,12 @@ class CustomStdException : public std::exception : m_msg( msg ) {} ~CustomStdException() CATCH_NOEXCEPT {} - + std::string getMessage() const { return m_msg; } - + private: std::string m_msg; };