Skip to content

Commit

Permalink
chore: address the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
YuanYuYuan committed Jan 7, 2025
1 parent fcd8937 commit ff686d6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/zenoh/api/session.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#pragma once

#include <zenoh.h>
#include <optional>

#include "../detail/closures_concrete.hxx"
Expand Down Expand Up @@ -532,7 +533,7 @@ class Session : public Owned<::z_owned_session_t> {
/// @warning This API has been marked as unstable: it works as advertised, but it may be changed in a future
/// release.
/// @brief The delete operation reliability.
Reliability reliability = Reliability::Z_RELIABILITY_RELIABLE;
Reliability reliability = z_reliability_default();
#endif
/// @brief the timestamp of this message.
std::optional<Timestamp> timestamp = {};
Expand Down Expand Up @@ -588,7 +589,7 @@ class Session : public Owned<::z_owned_session_t> {
/// @warning This API has been marked as unstable: it works as advertised, but it may be changed in a future
/// release.
/// @brief The put operation reliability.
Reliability reliability = Reliability::Z_RELIABILITY_RELIABLE;
Reliability reliability = z_reliability_default();
#endif
#if defined(ZENOHCXX_ZENOHC) && defined(Z_FEATURE_UNSTABLE_API)
/// @warning This API has been marked as unstable: it works as advertised, but it may be changed in a future
Expand Down Expand Up @@ -648,7 +649,7 @@ class Session : public Owned<::z_owned_session_t> {
/// @warning This API has been marked as unstable: it works as advertised, but it may be changed in a future
/// release.
/// @brief The publisher reliability.
Reliability reliability = Reliability::Z_RELIABILITY_RELIABLE;
Reliability reliability = z_reliability_default();
#endif
#if defined(ZENOHCXX_ZENOHC) && defined(Z_FEATURE_UNSTABLE_API)
/// @warning This API has been marked as unstable: it works as advertised, but it may be changed in a future
Expand Down

0 comments on commit ff686d6

Please sign in to comment.