We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
std::string
1 parent 4b26a58 commit 57a6b4bCopy full SHA for 57a6b4b
rmw_zenoh_cpp/src/detail/rmw_service_data.cpp
@@ -161,7 +161,7 @@ std::shared_ptr<ServiceData> ServiceData::make(
161
RMW_ZENOH_LOG_ERROR_NAMED(
162
"rmw_zenoh_cpp",
163
"Unable to obtain ServiceData from data for %s.",
164
- query.get_keyexpr().as_string_view());
+ std::string(query.get_keyexpr().as_string_view()).c_str());
165
return;
166
}
167
rmw_zenoh_cpp/src/detail/rmw_subscription_data.cpp
@@ -208,7 +208,7 @@ bool SubscriptionData::init()
208
209
210
"Unable to obtain SubscriptionData from data for %s.",
211
- sample.get_keyexpr().as_string_view());
+ std::string(sample.get_keyexpr().as_string_view()).c_str());
212
213
214
0 commit comments