diff options
author | Patrick Sattler <sattler@itestra.de> | 2014-02-18 14:51:07 +0100 |
---|---|---|
committer | Stefan Laner <laner@itestra.de> | 2014-02-26 15:05:11 +0100 |
commit | 25cacee1cb53b36a930ed2934fe7c4b2a406ca8a (patch) | |
tree | 3e0b8789e96e34bfde326c3444aac04f6eb7b312 /src/test/DBusSelectiveBroadcastTest.cpp | |
parent | 356ad3559a386865673aed7738c877206a73e390 (diff) | |
download | genivi-common-api-dbus-runtime-25cacee1cb53b36a930ed2934fe7c4b2a406ca8a.tar.gz |
Fixed some compile warnings
Change-Id: I2a35fc2adc0c3e2484a1be260da20d0a4ab92ed6
Diffstat (limited to 'src/test/DBusSelectiveBroadcastTest.cpp')
-rw-r--r-- | src/test/DBusSelectiveBroadcastTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/DBusSelectiveBroadcastTest.cpp b/src/test/DBusSelectiveBroadcastTest.cpp index 870568c..271ea72 100644 --- a/src/test/DBusSelectiveBroadcastTest.cpp +++ b/src/test/DBusSelectiveBroadcastTest.cpp @@ -196,7 +196,7 @@ TEST_F(DBusSelectiveBroadcastTest, ProxysCanSubscribe) EXPECT_EQ(selectiveBroadcastArrivedAtProxyFromSameFactory1, 2); EXPECT_EQ(selectiveBroadcastArrivedAtProxyFromSameFactory2, 1); - auto subscriptionResult3 = proxyFromOtherFactory->getTestSelectiveBroadcastSelectiveEvent().subscribe(std::bind(&DBusSelectiveBroadcastTest::selectiveBroadcastCallbackForProxyFromOtherFactory, this)); + proxyFromOtherFactory->getTestSelectiveBroadcastSelectiveEvent().subscribe(std::bind(&DBusSelectiveBroadcastTest::selectiveBroadcastCallbackForProxyFromOtherFactory, this)); ASSERT_EQ(stub->getNumberOfSubscribedClients(), 2); // should still be two because proxyFromSameFactory1_ is still subscribed proxyFromSameFactory2->getTestSelectiveBroadcastSelectiveEvent().unsubscribe(subscriptionResult2); @@ -242,7 +242,7 @@ TEST_F(DBusSelectiveBroadcastTest, ProxysCanBeRejected) { bool subbed = false; - auto subscriptionResult1 = proxyFromSameFactory1->getTestSelectiveBroadcastSelectiveEvent().subscribe( + proxyFromSameFactory1->getTestSelectiveBroadcastSelectiveEvent().subscribe( std::bind(&DBusSelectiveBroadcastTest::selectiveBroadcastCallbackForProxyFromSameFactory1, this), subbed); ASSERT_EQ(stub->getNumberOfSubscribedClients(), 1); @@ -250,7 +250,7 @@ TEST_F(DBusSelectiveBroadcastTest, ProxysCanBeRejected) { stub->acceptSubs = false; - auto subscriptionResult2 = proxyFromOtherFactory->getTestSelectiveBroadcastSelectiveEvent().subscribe( + proxyFromOtherFactory->getTestSelectiveBroadcastSelectiveEvent().subscribe( std::bind(&DBusSelectiveBroadcastTest::selectiveBroadcastCallbackForProxyFromOtherFactory, this), subbed); ASSERT_EQ(stub->getNumberOfSubscribedClients(), 1); @@ -268,4 +268,4 @@ int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); } -#endif
\ No newline at end of file +#endif |