mirror of
https://github.com/microsoft/GSL.git
synced 2024-11-03 17:56:43 -05:00
Thanks to @stayprivates fixed out of bounds access in "TestNotNullostream"
This commit is contained in:
parent
1212beae77
commit
787e7ef616
@ -234,8 +234,8 @@ void ostream_helper(T v)
|
||||
{
|
||||
std::ostringstream os;
|
||||
std::ostringstream ref;
|
||||
os << p;
|
||||
ref << &v;
|
||||
os << static_cast<void*>(p);
|
||||
ref << static_cast<void*>(&v);
|
||||
CHECK(os.str() == ref.str());
|
||||
}
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user