This commit is contained in:
Grzegorz Szwoch (sound)
2021-03-18 19:39:41 +01:00
parent fb2b0aa305
commit 34192d9a63

View File

@@ -313,7 +313,7 @@ void StkFrames :: resize( size_t nFrames, unsigned int nChannels )
std::string error = "StkFrames::resize: memory allocation error!";
Stk::handleError( error, StkError::MEMORY_ALLOCATION );
}
if ( ownData ) {
if ( ownData_ ) {
Stk::handleError( "Pointer to external data was lost after resize", StkError::WARNING );
}
#endif