summaryrefslogtreecommitdiff
path: root/googletest/include/gtest/gtest-test-part.h
diff options
context:
space:
mode:
authorAndy Soffer <804265+asoffer@users.noreply.github.com>2023-05-01 14:27:38 -0400
committerGitHub <noreply@github.com>2023-05-01 14:27:38 -0400
commit76bce79a3493aa157b3baca833fec1e3934d3512 (patch)
tree535cdfa334eb203cfd03505c82904e314ba7b153 /googletest/include/gtest/gtest-test-part.h
parent6f1c4b3d7b139c7217698bf4115be9f40785f661 (diff)
parentf345b2ca6adb1b505049190867eedf24d3b5eaa3 (diff)
downloadgoogletest-git-76bce79a3493aa157b3baca833fec1e3934d3512.tar.gz
Merge branch 'main' into fixes_std_pair_diff
Diffstat (limited to 'googletest/include/gtest/gtest-test-part.h')
-rw-r--r--googletest/include/gtest/gtest-test-part.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/googletest/include/gtest/gtest-test-part.h b/googletest/include/gtest/gtest-test-part.h
index 8290b4d6..41c8a9a0 100644
--- a/googletest/include/gtest/gtest-test-part.h
+++ b/googletest/include/gtest/gtest-test-part.h
@@ -133,7 +133,7 @@ std::ostream& operator<<(std::ostream& os, const TestPartResult& result);
// virtual.
class GTEST_API_ TestPartResultArray {
public:
- TestPartResultArray() {}
+ TestPartResultArray() = default;
// Appends the given TestPartResult to the array.
void Append(const TestPartResult& result);
@@ -154,7 +154,7 @@ class GTEST_API_ TestPartResultArray {
// This interface knows how to report a test part result.
class GTEST_API_ TestPartResultReporterInterface {
public:
- virtual ~TestPartResultReporterInterface() {}
+ virtual ~TestPartResultReporterInterface() = default;
virtual void ReportTestPartResult(const TestPartResult& result) = 0;
};