Converted tabs to spaces in some files where they have crept back in

This commit is contained in:
Phil Nash 2013-03-08 09:26:20 +00:00
parent 85dff2bce8
commit e57a56bb28
5 changed files with 15 additions and 15 deletions

View File

@ -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:

View File

@ -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

View File

@ -19,7 +19,7 @@ struct STATIC_ASSERT_Expression_Too_Complex_Please_Rewrite_As_Binary_Comparison;
// in an ExpressionResultBuilder object
template<typename T>
class ExpressionLhs {
void operator = ( const ExpressionLhs& );
void operator = ( const ExpressionLhs& );
public:
ExpressionLhs( T lhs ) : m_lhs( lhs ) {}

View File

@ -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<T>* generator ) {

View File

@ -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<std::string::size_type>( pptr() - pbase() ) ) );
setp( pbase(), epptr() );