Add contract

This commit is contained in:
Patrick Pelissier committed 2018-02-17 20:25:40 +01:00
1 parent 20be2d8850
commit 3f2a641cdf
1 file changed
+1
+1
View File
@@ -365,6 +365,7 @@ static inline unsigned int snapshot_mrsw_int_write_idx(snapshot_mrsw_int_t s, un
static inline unsigned int snapshot_mrsw_int_write(snapshot_mrsw_int_t s)
{
s->currentWrite = snapshot_mrsw_int_write_idx(s, s->currentWrite);
SNAPSHOTI_MRSW_INT_CONTRACT(s);
return s->currentWrite;
}