Started work on splitting out .cpp files from header files

This commit is contained in:
Martin Hořeňovský
2017-07-06 22:28:42 +02:00
parent 0016362f69
commit fc32165d48
38 changed files with 403 additions and 354 deletions

View File

@@ -25,12 +25,8 @@ namespace Catch {
std::string message;
unsigned int sequence;
bool operator == ( MessageInfo const& other ) const {
return sequence == other.sequence;
}
bool operator < ( MessageInfo const& other ) const {
return sequence < other.sequence;
}
bool operator == ( MessageInfo const& other ) const;
bool operator < ( MessageInfo const& other ) const;
private:
static unsigned int globalCount;
};
@@ -38,9 +34,7 @@ namespace Catch {
struct MessageBuilder {
MessageBuilder( std::string const& macroName,
SourceLineInfo const& lineInfo,
ResultWas::OfType type )
: m_info( macroName, lineInfo, type )
{}
ResultWas::OfType type );
template<typename T>
MessageBuilder& operator << ( T const& value ) {