Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add missing inlines to declare_publication_cache implementations #337

Merged
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
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
Loading