libstdc++: Fix tests that fail for C++98
libstdc++-v3/ChangeLog: * testsuite/27_io/basic_istream/ignore/char/94749.cc: Use 0 instead of nullptr. * testsuite/27_io/basic_istream/ignore/wchar_t/94749.cc: Likewise.
This commit is contained in:
parent
f07fa7a31c
commit
8011f718e2
@ -165,7 +165,7 @@ test05()
|
||||
VERIFY(in.gcount() == std::numeric_limits<std::streamsize>::max());
|
||||
VERIFY(in.get() == T::eof());
|
||||
|
||||
delete in.rdbuf(nullptr);
|
||||
delete in.rdbuf(0);
|
||||
}
|
||||
|
||||
void
|
||||
@ -210,7 +210,7 @@ test06()
|
||||
VERIFY(in.gcount() == std::numeric_limits<std::streamsize>::max());
|
||||
VERIFY(in.get() == T::eof());
|
||||
|
||||
delete in.rdbuf(nullptr);
|
||||
delete in.rdbuf(0);
|
||||
}
|
||||
|
||||
int
|
||||
|
@ -165,7 +165,7 @@ test05()
|
||||
VERIFY(in.gcount() == std::numeric_limits<std::streamsize>::max());
|
||||
VERIFY(in.get() == T::eof());
|
||||
|
||||
delete in.rdbuf(nullptr);
|
||||
delete in.rdbuf(0);
|
||||
}
|
||||
|
||||
void
|
||||
@ -210,7 +210,7 @@ test06()
|
||||
VERIFY(in.gcount() == std::numeric_limits<std::streamsize>::max());
|
||||
VERIFY(in.get() == T::eof());
|
||||
|
||||
delete in.rdbuf(nullptr);
|
||||
delete in.rdbuf(0);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user