summaryrefslogtreecommitdiff
path: root/Rx/v2/test/sources/scope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Rx/v2/test/sources/scope.cpp')
-rw-r--r--Rx/v2/test/sources/scope.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rx/v2/test/sources/scope.cpp b/Rx/v2/test/sources/scope.cpp
index ac3fc16..476d434 100644
--- a/Rx/v2/test/sources/scope.cpp
+++ b/Rx/v2/test/sources/scope.cpp
@@ -348,7 +348,7 @@ SCENARIO("scope, throw resource selector", "[scope][sources]"){
throw ex;
//return resource(sc.clock());
},
- [&](resource r){
+ [&](resource){
++observable_factory_invoked;
return rx::observable<>::never<int>();
}
@@ -400,7 +400,7 @@ SCENARIO("scope, throw resource usage", "[scope][sources]"){
++resource_factory_invoked;
return resource(sc.clock());
},
- [&](resource r) -> rx::observable<int> {
+ [&](resource) -> rx::observable<int> {
++observable_factory_invoked;
throw ex;
}