Skip to content

Commit

Permalink
Removed some trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
philsquared committed Dec 4, 2015
1 parent fdc42d0 commit 722315a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion include/internal/catch_interfaces_exception.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Catch {

struct IExceptionTranslator;
typedef std::vector<const IExceptionTranslator*> ExceptionTranslators;

struct IExceptionTranslator {
virtual ~IExceptionTranslator();
virtual std::string translate( ExceptionTranslators::const_iterator it, ExceptionTranslators::const_iterator itEnd ) const = 0;
Expand Down
10 changes: 5 additions & 5 deletions include/internal/catch_matchers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Matchers {
template<typename ExpressionT> class AnyOf;
template<typename ExpressionT> class Not;
}

template<typename ExpressionT>
struct Matcher : SharedImpl<IShared>
{
Expand All @@ -27,7 +27,7 @@ namespace Matchers {
virtual Ptr<Matcher> clone() const = 0;
virtual bool match( ExpressionT const& expr ) const = 0;
virtual std::string toString() const = 0;

Generic::AllOf<ExpressionT> operator && ( Matcher<ExpressionT> const& other ) const;
Generic::AnyOf<ExpressionT> operator || ( Matcher<ExpressionT> const& other ) const;
Generic::Not<ExpressionT> operator ! () const;
Expand Down Expand Up @@ -134,13 +134,13 @@ namespace Matchers {
anyOfExpr.add( other );
return anyOfExpr;
}

private:
std::vector<Ptr<Matcher<ExpressionT> > > m_matchers;
};

} // namespace Generic

template<typename ExpressionT>
Generic::AllOf<ExpressionT> Matcher<ExpressionT>::operator && ( Matcher<ExpressionT> const& other ) const {
Generic::AllOf<ExpressionT> allOfExpr;
Expand All @@ -161,7 +161,7 @@ namespace Matchers {
Generic::Not<ExpressionT> Matcher<ExpressionT>::operator ! () const {
return Generic::Not<ExpressionT>( *this );
}


namespace StdString {

Expand Down
4 changes: 2 additions & 2 deletions include/internal/catch_test_case_registry_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ namespace Catch {
char const* classOrQualifiedMethodName,
NameAndDesc const& nameAndDesc,
SourceLineInfo const& lineInfo ) {

getMutableRegistryHub().registerTest
( makeTestCase
( testCase,
Expand All @@ -172,7 +172,7 @@ namespace Catch {
NameAndDesc const& nameAndDesc ) {
registerTestCase( new FreeFunctionTestCase( function ), "", nameAndDesc, lineInfo );
}

///////////////////////////////////////////////////////////////////////////

AutoReg::AutoReg
Expand Down
4 changes: 2 additions & 2 deletions projects/SelfTest/ExceptionTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit 722315a

Please sign in to comment.