Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/zenoh/api.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
#include "api/session.hxx"
#include "api/subscriber.hxx"
#include "api/timestamp.hxx"
#if defined(Z_FEATURE_UNSTABLE_API)
#if defined(Z_FEATURE_UNSTABLE_API) && (defined(ZENOHCXX_ZENOHC) || Z_FEATURE_CONNECTIVITY == 1)
#include "api/link.hxx"
#include "api/link_event.hxx"
#include "api/link_events_listener.hxx"
Expand Down
6 changes: 3 additions & 3 deletions include/zenoh/detail/closures_concrete.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
#include "../api/hello.hxx"
#include "../api/id.hxx"
#include "../api/interop.hxx"
#if defined(Z_FEATURE_UNSTABLE_API)
#if defined(Z_FEATURE_UNSTABLE_API) && (defined(ZENOHCXX_ZENOHC) || Z_FEATURE_CONNECTIVITY == 1)
#include "../api/link.hxx"
#include "../api/link_event.hxx"
#endif
#include "../api/query.hxx"
#include "../api/reply.hxx"
#include "../api/sample.hxx"
#if defined(Z_FEATURE_UNSTABLE_API)
#if defined(Z_FEATURE_UNSTABLE_API) && (defined(ZENOHCXX_ZENOHC) || Z_FEATURE_CONNECTIVITY == 1)
#include "../api/transport.hxx"
#include "../api/transport_event.hxx"
#endif
Expand Down Expand Up @@ -54,7 +54,7 @@ inline void _zenoh_on_id_call(const ::z_id_t* z_id, void* context) {
inline void _zenoh_on_hello_call(::z_loaned_hello_t* hello, void* context) {
IClosure<void, Hello&>::call_from_context(context, interop::as_owned_cpp_ref<Hello>(hello));
}
#if defined(Z_FEATURE_UNSTABLE_API)
#if defined(Z_FEATURE_UNSTABLE_API) && (defined(ZENOHCXX_ZENOHC) || Z_FEATURE_CONNECTIVITY == 1)
inline void _zenoh_on_transport_call(::z_loaned_transport_t* transport, void* context) {
IClosure<void, Transport&>::call_from_context(context, interop::as_owned_cpp_ref<Transport>(transport));
}
Expand Down
Loading