mirror of
https://github.com/thestk/stk
synced 2026-01-17 22:51:53 +00:00
handleError member function must be declared const.
Otherwise it causes a compilation failure when called from const functions.
This commit is contained in:
@@ -192,7 +192,7 @@ void Stk :: sleep(unsigned long milliseconds)
|
||||
#endif
|
||||
}
|
||||
|
||||
void Stk :: handleError( StkError::Type type )
|
||||
void Stk :: handleError( StkError::Type type ) const
|
||||
{
|
||||
handleError( oStream_.str(), type );
|
||||
oStream_.str( std::string() ); // reset the ostringstream buffer
|
||||
|
||||
Reference in New Issue
Block a user