Skip to content

Commit

Permalink
Rename zc_config_insert_json to zc_config_insert_json5
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Sep 17, 2024
1 parent 2269506 commit 20937a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/zenoh/api/config.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Config : public Owned<::z_owned_config_t> {
/// @return true if the parameter was inserted, false otherwise.
/// @note zenoh-c only.
void insert_json(const std::string& key, const std::string& value, ZResult* err = nullptr) {
__ZENOH_RESULT_CHECK(::zc_config_insert_json(interop::as_loaned_c_ptr(*this), key.c_str(), value.c_str()), err,
__ZENOH_RESULT_CHECK(::zc_config_insert_json5(interop::as_loaned_c_ptr(*this), key.c_str(), value.c_str()), err,
std::string("Failed to insert '")
.append(value)
.append("' for the key '")
Expand Down Expand Up @@ -149,4 +149,4 @@ class Config : public Owned<::z_owned_config_t> {
}
#endif
};
} // namespace zenoh
} // namespace zenoh

0 comments on commit 20937a5

Please sign in to comment.