Skip to content

Commit

Permalink
#1423: remove maximimum ref-count check
Browse files Browse the repository at this point in the history
  • Loading branch information
stmcgovern committed Mar 21, 2022
1 parent c4e4385 commit ccf9b0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vt/messaging/envelope/envelope_ref.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ inline void envelopeRef(Env& env) {
"instead of a MsgPtr/makeMessage/makeSharedMessage construct."
);
vtAssertInfo(
envp->ref >= 0 and envp->ref < 100,
envp->ref >= 0,
"Bad ref-count on message ref-increment. "
"Message ref-count must never be negative and cannnot exceed limit (100).",
static_cast<RefType>(envp->ref)
Expand Down

0 comments on commit ccf9b0b

Please sign in to comment.