Skip to content

Commit

Permalink
Remove curly braces
Browse files Browse the repository at this point in the history
Co-authored-by: Wilson Snyder <[email protected]>
  • Loading branch information
kboronski-ant and wsnyder authored Oct 25, 2023
1 parent ce00558 commit ef58e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/verilated_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ class VlQueue final {

// function void q.insert(index, value);
void insert(int32_t index, const T_Value& value) {
if (VL_UNLIKELY(index < 0 || index > m_deque.size())) { return; }
if (VL_UNLIKELY(index < 0 || index > m_deque.size())) return;
m_deque.insert(m_deque.begin() + index, value);
}

Expand Down

0 comments on commit ef58e46

Please sign in to comment.