mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-03 13:55:39 +02:00
Fix Wold-style-cast error (#2125)
* Add Wold-style-cast to cmake flags * Fix old style cast in catch_stats.hpp * Fix old style cast in catch_stats.cpp
This commit is contained in:

committed by
GitHub

parent
045feff834
commit
0acb371b92
@@ -12133,7 +12133,7 @@ Message from section two
|
||||
<Section name="Comparisons are deep" filename="tests/<exe-name>/IntrospectiveTests/String.tests.cpp" >
|
||||
<Expression success="true" type="CHECK" filename="tests/<exe-name>/IntrospectiveTests/String.tests.cpp" >
|
||||
<Original>
|
||||
(char*)buffer1 != (char*)buffer2
|
||||
reinterpret_cast<char*>(buffer1) != reinterpret_cast<char*>(buffer2)
|
||||
</Original>
|
||||
<Expanded>
|
||||
"Hello" != "Hello"
|
||||
|
Reference in New Issue
Block a user