mirror of
https://github.com/catchorg/Catch2.git
synced 2025-07-10 11:05:33 +02:00
Fixed std::memset
This commit is contained in:
parent
20799cc44a
commit
5860fdff8d
@ -224,7 +224,7 @@ namespace Catch {
|
|||||||
char const* getLineOfChars() {
|
char const* getLineOfChars() {
|
||||||
static char line[CATCH_CONFIG_CONSOLE_WIDTH] = {0};
|
static char line[CATCH_CONFIG_CONSOLE_WIDTH] = {0};
|
||||||
if( !*line ) {
|
if( !*line ) {
|
||||||
memset( line, C, CATCH_CONFIG_CONSOLE_WIDTH-1 );
|
std::memset( line, C, CATCH_CONFIG_CONSOLE_WIDTH-1 );
|
||||||
line[CATCH_CONFIG_CONSOLE_WIDTH-1] = 0;
|
line[CATCH_CONFIG_CONSOLE_WIDTH-1] = 0;
|
||||||
}
|
}
|
||||||
return line;
|
return line;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user