Skip to content

Commit

Permalink
QuicheScopedDisableExitOnDFatalImpl
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Hamilton <[email protected]>
  • Loading branch information
RyanTheOptimist committed Feb 1, 2024
1 parent 0edcdf8 commit 39bee67
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/common/quic/platform/quiche_test_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,17 @@ inline std::string QuicheGetCommonSourcePathImpl() {
return absl::StrCat(test_srcdir, "/external/com_github_google_quiche/quiche/common");
}

class QuicheScopedDisableExitOnDFatalImpl {
public:
explicit QuicheScopedDisableExitOnDFatalImpl() {}

// This type is neither copyable nor movable.
QuicheScopedDisableExitOnDFatalImpl(const QuicheScopedDisableExitOnDFatalImpl &) = delete;
QuicheScopedDisableExitOnDFatalImpl &operator=(const QuicheScopedDisableExitOnDFatalImpl &) =
delete;

~QuicheScopedDisableExitOnDFatalImpl() {}
};

} // namespace test
} // namespace quiche

0 comments on commit 39bee67

Please sign in to comment.