Skip to content

Commit

Permalink
Add missing inlines (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisBiryukov91 authored Dec 18, 2024
1 parent 995a9ea commit c549fbd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions include/zenoh/api/ext/publication_cache.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ class PublicationCache : public Owned<::ze_owned_publication_cache_t> {
}
};

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

void SessionExt::declare_background_publication_cache(const KeyExpr& key_expr, PublicationCacheOptions&& options,
ZResult* err) const {
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);
opts.queryable_prefix = interop::as_loaned_c_ptr(options.queryable_prefix);
Expand Down

0 comments on commit c549fbd

Please sign in to comment.