From daa121078ac9ad388fc2185c1f68df03afbf713c Mon Sep 17 00:00:00 2001 From: Jackie Kay Date: Wed, 2 Dec 2015 14:45:49 -0800 Subject: [PATCH] Change State to Impl --- test_rclcpp/test/test_allocator.cpp | 2 +- test_rclcpp/test/test_multiple_service_calls.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test_rclcpp/test/test_allocator.cpp b/test_rclcpp/test/test_allocator.cpp index fca353ee..2b4e9bef 100644 --- a/test_rclcpp/test/test_allocator.cpp +++ b/test_rclcpp/test/test_allocator.cpp @@ -371,7 +371,7 @@ TEST(CLASSNAME(test_allocator, RMW_IMPLEMENTATION), unique_ptr) { rclcpp::init(0, nullptr); auto context = rclcpp::contexts::default_context::get_global_default_context(); auto intra_process_manager_state = - std::make_shared>(); + std::make_shared>(); context->get_sub_context( intra_process_manager_state); // Use intra-process diff --git a/test_rclcpp/test/test_multiple_service_calls.cpp b/test_rclcpp/test/test_multiple_service_calls.cpp index eed7255d..a4278c83 100644 --- a/test_rclcpp/test/test_multiple_service_calls.cpp +++ b/test_rclcpp/test/test_multiple_service_calls.cpp @@ -128,7 +128,7 @@ TEST(CLASSNAME(test_multiple_service_calls, RMW_IMPLEMENTATION), multiple_client for (uint32_t i = 0; i < results.size(); ++i) { ASSERT_EQ(std::future_status::ready, results[i].wait_for(std::chrono::seconds(0))); EXPECT_EQ(results[i].get()->sum, 2 * i + 1); - printf("Got response #%u with value %zu\n", i, results[i].get()->sum); + printf("Got response #%u with value %zd\n", i, results[i].get()->sum); fflush(stdout); } }