Skip to content

Commit

Permalink
add missing inlines
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 committed Dec 18, 2024
1 parent 44a7728 commit 7510500
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/zenoh/api/ext/publication_cache.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class PublicationCache : public Owned<::ze_owned_publication_cache_t> {
}
};

[[nodiscard]] PublicationCache SessionExt::declare_publication_cache(const KeyExpr& key_expr,
[[nodiscard]] inline PublicationCache SessionExt::declare_publication_cache(const KeyExpr& key_expr,
PublicationCacheOptions&& options,
ZResult* err) const {
::ze_publication_cache_options_t opts;
Expand All @@ -69,7 +69,7 @@ class PublicationCache : public Owned<::ze_owned_publication_cache_t> {
return p;
}

void SessionExt::declare_background_publication_cache(const KeyExpr& key_expr, PublicationCacheOptions&& options,
inline void SessionExt::declare_background_publication_cache(const KeyExpr& key_expr, PublicationCacheOptions&& options,
ZResult* err) const {
::ze_publication_cache_options_t opts;
ze_publication_cache_options_default(&opts);
Expand Down

0 comments on commit 7510500

Please sign in to comment.