aboutsummaryrefslogtreecommitdiffstats
path: root/googletest/include/gtest/gtest-death-test.h
diff options
context:
space:
mode:
Diffstat (limited to 'googletest/include/gtest/gtest-death-test.h')
-rw-r--r--googletest/include/gtest/gtest-death-test.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/googletest/include/gtest/gtest-death-test.h b/googletest/include/gtest/gtest-death-test.h
index dc878ffb..2bd41cf3 100644
--- a/googletest/include/gtest/gtest-death-test.h
+++ b/googletest/include/gtest/gtest-death-test.h
@@ -190,11 +190,10 @@ GTEST_API_ bool InDeathTestChild();
class GTEST_API_ ExitedWithCode {
public:
explicit ExitedWithCode(int exit_code);
+ ExitedWithCode(const ExitedWithCode&) = default;
+ void operator=(const ExitedWithCode& other) = delete;
bool operator()(int exit_status) const;
private:
- // No implementation - assignment is unsupported.
- void operator=(const ExitedWithCode& other);
-
const int exit_code_;
};