Thanks to @stayprivates fixed out of bounds access in "TestNotNullostream"

This commit is contained in:
B1Z0N 2019-09-01 00:35:04 +03:00
parent 1212beae77
commit 787e7ef616

View File

@ -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());
}
{