Skip to content

Commit

Permalink
chore: adapt the latest change
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Oct 2, 2024
1 parent 979896a commit d022967
Show file tree
Hide file tree
Showing 11 changed files with 120 additions and 217 deletions.
1 change: 0 additions & 1 deletion rmw_zenoh_cpp/src/detail/graph_cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <vector>

#include "event.hpp"
#include "liveliness_utils.hpp"
Expand Down
2 changes: 0 additions & 2 deletions rmw_zenoh_cpp/src/detail/rmw_context_impl_s.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include <thread>
#include <utility>

#include "guard_condition.hpp"
#include "identifier.hpp"
#include "liveliness_utils.hpp"
#include "logging_macros.hpp"
Expand All @@ -29,7 +28,6 @@

#include "rcpputils/scope_exit.hpp"
#include "rmw/error_handling.h"
#include "rmw/impl/cpp/macros.hpp"

// Megabytes of SHM to reserve.
// TODO(clalancette): Make this configurable, or get it from the configuration
Expand Down
4 changes: 0 additions & 4 deletions rmw_zenoh_cpp/src/detail/rmw_context_impl_s.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,8 @@

#include "graph_cache.hpp"
#include "guard_condition.hpp"
#include "liveliness_utils.hpp"
#include "rmw_node_data.hpp"

#include "rcutils/types.h"
#include "rmw/rmw.h"

///=============================================================================
class rmw_context_impl_s final
{
Expand Down
2 changes: 1 addition & 1 deletion rmw_zenoh_cpp/src/detail/rmw_node_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ std::size_t NodeData::id() const
///=============================================================================
bool NodeData::create_pub_data(
const rmw_publisher_t * const publisher,
z_session_t session,
const z_loaned_session_t * session,
std::size_t id,
const std::string & topic_name,
const rosidl_message_type_support_t * type_support,
Expand Down
4 changes: 1 addition & 3 deletions rmw_zenoh_cpp/src/detail/rmw_node_data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#include "liveliness_utils.hpp"
#include "rmw_publisher_data.hpp"

#include "rmw/rmw.h"

namespace rmw_zenoh_cpp
{
///=============================================================================
Expand All @@ -51,7 +49,7 @@ class NodeData final
// Create a new PublisherData for a publisher in this node.
bool create_pub_data(
const rmw_publisher_t * const publisher,
z_session_t session,
const z_loaned_session_t * session,
std::size_t id,
const std::string & topic_name,
const rosidl_message_type_support_t * type_support,
Expand Down
Loading

0 comments on commit d022967

Please sign in to comment.