summaryrefslogtreecommitdiff
path: root/Rx/v2/test/subjects
diff options
context:
space:
mode:
authorKirk Shoop (MS Open Tech) <kirk.shoop@microsoft.com>2014-05-01 15:56:00 -0700
committerKirk Shoop (MS Open Tech) <kirk.shoop@microsoft.com>2014-05-01 15:56:00 -0700
commit26034318f56828e155ffb6493c4e672f56a5ec7c (patch)
tree149c0e85582b77e1d04fa2eef989e8bd57b9d8c6 /Rx/v2/test/subjects
parentb88f5992ba41cd2701772d09d7a3d2986d0e0fc4 (diff)
downloadRxCpp-26034318f56828e155ffb6493c4e672f56a5ec7c.tar.gz
changes for windows
Diffstat (limited to 'Rx/v2/test/subjects')
-rw-r--r--Rx/v2/test/subjects/subject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rx/v2/test/subjects/subject.cpp b/Rx/v2/test/subjects/subject.cpp
index 045d630..3b89e95 100644
--- a/Rx/v2/test/subjects/subject.cpp
+++ b/Rx/v2/test/subjects/subject.cpp
@@ -163,7 +163,7 @@ SCENARIO("for loop calls ready on_next(int)", "[hide][for][asyncobserver][ready]
asyncwithready::async_subscriber<int, decltype(onnext)> scbr(onnext);
asyncwithready::ready::onthen_type chunk;
int i = 0;
- chunk = [&chunk, scbr, i]() mutable {
+ chunk = [&chunk, scbr, i, onnextcalls]() mutable {
for (; i < onnextcalls && scbr.is_subscribed(); i++) {
auto controller = scbr.on_next(i);
if (!controller.is_ready()) {