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 os;
std::ostringstream ref; std::ostringstream ref;
os << p; os << static_cast<void*>(p);
ref << &v; ref << static_cast<void*>(&v);
CHECK(os.str() == ref.str()); CHECK(os.str() == ref.str());
} }
{ {