We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15f0a84 commit 7f076bcCopy full SHA for 7f076bc
tests/xtd.core.unit_tests/src/xtd/threading/tests/countdown_event_tests.cpp
@@ -132,7 +132,7 @@ namespace xtd::threading::tests {
132
133
auto test_method_(signal_with_negative_param) {
134
auto ce = countdown_event {10};
135
- assert::throws<argument_out_of_range_exception>([&] {ce.signal(size {-1});});
+ assert::throws<argument_out_of_range_exception>([&] {ce.signal(static_cast<size>(-1));});
136
}
137
138
auto test_method_(signal_with_greater_param_than_intial_count) {
0 commit comments