diff options
| author | Gary Scavone <gary@music.mcgill.ca> | 2007-12-22 19:29:40 +0000 |
|---|---|---|
| committer | Stephen Sinclair <sinclair@music.mcgill.ca> | 2013-10-11 01:38:21 +0200 |
| commit | b71d5ba31a0ebc433dcc255de7dbb47a689b937c (patch) | |
| tree | 14d2cbc720e392f96a64787f61c84ebf4da4d164 /RtAudio.cpp | |
| parent | 3dc6e2e86821303784512f86805683f1fda14ccb (diff) | |
Fix of errorString clearing in error() and documentation fixes for DeviceInfo (gps).
Diffstat (limited to 'RtAudio.cpp')
| -rw-r--r-- | RtAudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RtAudio.cpp b/RtAudio.cpp index cdefda4..8deb5f6 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -6874,11 +6874,11 @@ extern "C" void *ossCallbackHandler( void *ptr ) // message printing. void RtApi :: error( RtError::Type type ) { + errorStream_.str(""); // clear the ostringstream if ( type == RtError::WARNING && showWarnings_ == true ) std::cerr << '\n' << errorText_ << "\n\n"; else throw( RtError( errorText_, type ) ); - errorStream_.str(""); // clear the ostringstream } void RtApi :: verifyStream() |
