fprint(stderr -> std::cerr <<

This commit is contained in:
Andreas Fabri 2021-09-20 11:09:24 +01:00 committed by Sébastien Loriot
parent b23b0b0d63
commit 470340f29e
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ namespace
{
if ( type == _CRT_ASSERT )
{
std::fprintf(stderr,msg);
std::cerr << msg << std::endl;
*retval = 0 ;
std::exit(255);
}