Merge pull request #2773 from Quuxplusone:replace-noexcept
PiperOrigin-RevId: 305707266
This commit is contained in:
commit
b51a49e0cb
@ -59,7 +59,7 @@ TEST(CxxExceptionDeathTest, ExceptionIsFailure) {
|
|||||||
|
|
||||||
class TestException : public std::exception {
|
class TestException : public std::exception {
|
||||||
public:
|
public:
|
||||||
const char* what() const throw() override { return "exceptional message"; }
|
const char* what() const noexcept override { return "exceptional message"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
TEST(CxxExceptionDeathTest, PrintsMessageForStdExceptions) {
|
TEST(CxxExceptionDeathTest, PrintsMessageForStdExceptions) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user