Skip to content

Commit 89214fa

Browse files
Vizonexbdraco
andauthored
Update multidict/_multilib/state.h
Co-authored-by: J. Nick Koston <[email protected]>
1 parent d949beb commit 89214fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

multidict/_multilib/state.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ static inline uint64_t
131131
NEXT_VERSION(mod_state *state)
132132
{
133133
return atomic_fetch_add_explicit(
134-
&state->global_version, 1, memory_order_relaxed);
134+
&state->global_version, 1, memory_order_relaxed) + 1;
135135
}
136136

137137
#ifdef __cplusplus

0 commit comments

Comments
 (0)