Moved context object entirely into impl file

This commit is contained in:
Phil Nash
2012-08-08 08:33:54 +01:00
parent 0477465f8d
commit fb386f458d
4 changed files with 78 additions and 100 deletions

View File

@@ -127,7 +127,7 @@ namespace Catch {
}
void useStream( const std::string& streamName ) {
std::streambuf* newBuf = Context::createStreamBuf( streamName );
std::streambuf* newBuf = createStreamBuf( streamName );
setStreamBuf( newBuf );
delete m_streambuf;
m_streambuf = newBuf;