redirect non-conforming writes to cerr to oStream_

One error message in mandolin.cpp was going to cerr instead of oStream_
This commit is contained in:
rhenninger
2016-09-11 13:47:25 -04:00
committed by GitHub
parent 77a5cfa4aa
commit 5dd605ecfd

View File

@@ -75,7 +75,7 @@ void Mandolin :: clear( void )
void Mandolin :: setPluckPosition( StkFloat position )
{
if ( position < 0.0 || position > 1.0 ) {
std::cerr << "Mandolin::setPluckPosition: position parameter out of range!";
oStream_ << "Mandolin::setPluckPosition: position parameter out of range!";
handleError( StkError::WARNING ); return;
}