mirror of
https://github.com/thestk/stk
synced 2026-01-19 15:41:52 +00:00
Fix for #108
This commit is contained in:
@@ -313,7 +313,7 @@ void StkFrames :: resize( size_t nFrames, unsigned int nChannels )
|
|||||||
std::string error = "StkFrames::resize: memory allocation error!";
|
std::string error = "StkFrames::resize: memory allocation error!";
|
||||||
Stk::handleError( error, StkError::MEMORY_ALLOCATION );
|
Stk::handleError( error, StkError::MEMORY_ALLOCATION );
|
||||||
}
|
}
|
||||||
if ( ownData ) {
|
if ( ownData_ ) {
|
||||||
Stk::handleError( "Pointer to external data was lost after resize", StkError::WARNING );
|
Stk::handleError( "Pointer to external data was lost after resize", StkError::WARNING );
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user