diff --git a/include/internal/catch_common.h b/include/internal/catch_common.h index 2eeb572a..55acbd4f 100644 --- a/include/internal/catch_common.h +++ b/include/internal/catch_common.h @@ -27,13 +27,13 @@ namespace Catch { - class NonCopyable { - NonCopyable( const NonCopyable& ); - void operator = ( const NonCopyable& ); - protected: - NonCopyable() {} - virtual ~NonCopyable(); - }; + class NonCopyable { + NonCopyable( const NonCopyable& ); + void operator = ( const NonCopyable& ); + protected: + NonCopyable() {} + virtual ~NonCopyable(); + }; class SafeBool { public: diff --git a/include/internal/catch_debugger.hpp b/include/internal/catch_debugger.hpp index 4b0c8337..42769898 100644 --- a/include/internal/catch_debugger.hpp +++ b/include/internal/catch_debugger.hpp @@ -97,8 +97,8 @@ return IsDebuggerPresent() != 0; } #else - inline void BreakIntoDebugger(){} - inline bool isDebuggerActive() { return false; } + inline void BreakIntoDebugger(){} + inline bool isDebuggerActive() { return false; } #endif #ifdef CATCH_PLATFORM_WINDOWS diff --git a/include/internal/catch_expression_lhs.hpp b/include/internal/catch_expression_lhs.hpp index edc5dd84..2cc7397d 100644 --- a/include/internal/catch_expression_lhs.hpp +++ b/include/internal/catch_expression_lhs.hpp @@ -19,7 +19,7 @@ struct STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison; // in an ExpressionResultBuilder object template class ExpressionLhs { - void operator = ( const ExpressionLhs& ); + void operator = ( const ExpressionLhs& ); public: ExpressionLhs( T lhs ) : m_lhs( lhs ) {} diff --git a/include/internal/catch_generators.hpp b/include/internal/catch_generators.hpp index 76a13f44..030b1804 100644 --- a/include/internal/catch_generators.hpp +++ b/include/internal/catch_generators.hpp @@ -69,12 +69,12 @@ class CompositeGenerator { public: CompositeGenerator() : m_totalSize( 0 ) {} - // *** Move semantics, similar to auto_ptr *** + // *** Move semantics, similar to auto_ptr *** CompositeGenerator( CompositeGenerator& other ) : m_fileInfo( other.m_fileInfo ), m_totalSize( 0 ) { - move( other ); + move( other ); } CompositeGenerator& setFileInfo( const char* fileInfo ) { @@ -101,7 +101,7 @@ public: index += generator->size(); } CATCH_INTERNAL_ERROR( "Indexed past end of generated range" ); - return T(); // Suppress spurious "not all control paths return a value" warning in Visual Studio - if you know how to fix this please do so + return T(); // Suppress spurious "not all control paths return a value" warning in Visual Studio - if you know how to fix this please do so } void add( const IGenerator* generator ) { diff --git a/include/internal/catch_stream.hpp b/include/internal/catch_stream.hpp index 92d3310b..b3135751 100644 --- a/include/internal/catch_stream.hpp +++ b/include/internal/catch_stream.hpp @@ -32,7 +32,7 @@ namespace Catch { } private: - int overflow( int c ) { + int overflow( int c ) { sync(); if( c != EOF ) { @@ -44,7 +44,7 @@ namespace Catch { return 0; } - int sync() { + int sync() { if( pbase() != pptr() ) { m_writer( std::string( pbase(), static_cast( pptr() - pbase() ) ) ); setp( pbase(), epptr() );