summaryrefslogtreecommitdiffstats
path: root/googletest/test/googletest-catch-exceptions-test_.cc
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/test/googletest-catch-exceptions-test_.cc')
-rw-r--r--googletest/test/googletest-catch-exceptions-test_.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/test/googletest-catch-exceptions-test_.cc b/googletest/test/googletest-catch-exceptions-test_.cc
index f1708a9..75d1d2d 100644
--- a/googletest/test/googletest-catch-exceptions-test_.cc
+++ b/googletest/test/googletest-catch-exceptions-test_.cc
@@ -277,7 +277,7 @@ TEST(CxxExceptionTest, ThrowsNonStdCxxException) {
// ones.
void TerminateHandler() {
fprintf(stderr, "%s\n", "Unhandled C++ exception terminating the program.");
- fflush(NULL);
+ fflush(nullptr);
exit(3);
}