Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b68f6f

Browse files
committed
Fix typo in assert statement that broke debug win32 builds.
1 parent efac2ed commit 0b68f6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/cppcoro/detail/win32_overlapped_operation.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,13 +253,13 @@ namespace cppcoro
253253
std::memory_order_release,
254254
std::memory_order_acquire))
255255
{
256-
assert(oldState == state::complete);
256+
assert(oldState == state::completed);
257257
return false;
258258
}
259259
}
260260
else
261261
{
262-
assert(oldState == state::complete);
262+
assert(oldState == state::completed);
263263
return false;
264264
}
265265
}

0 commit comments

Comments
 (0)