parent
f6fd436d69
commit
a75fb6abdd
|
|
@ -104,7 +104,7 @@ public:
|
|||
|
||||
StringOutputStream(){
|
||||
}
|
||||
StringOutputStream( std::size_t capacity ) : m_string( capacity ){
|
||||
explicit StringOutputStream( std::size_t capacity ) : m_string( capacity ){
|
||||
}
|
||||
std::size_t write( const char* buffer, std::size_t length ){
|
||||
m_string.push_range( buffer, buffer + length );
|
||||
|
|
|
|||
|
|
@ -255,7 +255,7 @@ void RunBSP( size_t buildIdx ){
|
|||
#if defined ( POSIX )
|
||||
batchFile << "#!/bin/sh \n\n";
|
||||
#endif
|
||||
BatchCommandListener listener( batchFile, g_WatchBSP0_DumpLog? junkpath : 0 );
|
||||
BatchCommandListener listener( batchFile, g_WatchBSP0_DumpLog? junkpath.c_str() : nullptr );
|
||||
for( const auto& command : commands )
|
||||
listener.execute( command.c_str() );
|
||||
written = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user