Skip to content

Commit

Permalink
Eliminate safety_precondition.
Browse files Browse the repository at this point in the history
ADOBE_NONCRITICAL_PRECONDITION_CHECK will just use the precondition kind.
  • Loading branch information
dabrahams committed Aug 16, 2024
1 parent ecc025d commit da92b7b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/adobe/contract_checks.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ class contract_violation final : public ::std::logic_error
// The predefined kinds of contract violations provided by this library.
enum predefined_kind : kind_t {
precondition = 1,
// A precondition check that dynamically ensures safety failed.
safety_precondition,
postcondition,
invariant,
unconditional_fatal_error
Expand Down

0 comments on commit da92b7b

Please sign in to comment.