From 5dd605ecfd382889a78fa2f8507098edaa647856 Mon Sep 17 00:00:00 2001 From: rhenninger Date: Sun, 11 Sep 2016 13:47:25 -0400 Subject: [PATCH] redirect non-conforming writes to cerr to oStream_ One error message in mandolin.cpp was going to cerr instead of oStream_ --- src/Mandolin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mandolin.cpp b/src/Mandolin.cpp index e781c5d..9c74eb3 100644 --- a/src/Mandolin.cpp +++ b/src/Mandolin.cpp @@ -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; }