mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-15 14:59:38 +01:00
More method bodies moved out of line
This commit is contained in:
@@ -21,14 +21,9 @@ namespace Catch {
|
||||
|
||||
struct CopyableStream {
|
||||
CopyableStream() = default;
|
||||
CopyableStream( CopyableStream const& other ) {
|
||||
oss << other.oss.str();
|
||||
}
|
||||
CopyableStream& operator=( CopyableStream const& other ) {
|
||||
oss.str(std::string());
|
||||
oss << other.oss.str();
|
||||
return *this;
|
||||
}
|
||||
CopyableStream( CopyableStream const& other );
|
||||
CopyableStream& operator=( CopyableStream const& other );
|
||||
|
||||
std::ostringstream oss;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user