Skip to content

Commit

Permalink
Simplify DEBUG_ASSERT
Browse files Browse the repository at this point in the history
  • Loading branch information
JoergAtGithub committed Oct 28, 2024
1 parent 53e8d61 commit a950e68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/db/dbid.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class DbId {
}
explicit DbId(const int value)
: m_value(value) {
DEBUG_ASSERT(isValid() || (kInvalidValue == m_value));
DEBUG_ASSERT(m_value >= kInvalidValue);
}

explicit DbId(const QVariant& variant)
Expand Down

0 comments on commit a950e68

Please sign in to comment.