mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-02 16:26:48 +00:00
minor namespace fix
Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com>
This commit is contained in:
@@ -465,9 +465,7 @@ SpanGuard::addEvent(std::string_view name, std::initializer_list<EventAttribute>
|
||||
// OTel's AddEvent template requires a key-value-iterable; a plain
|
||||
// std::vector<std::pair<...>> doesn't satisfy is_key_value_iterable.
|
||||
// Wrap in nostd::span over the vector's storage so the SDK accepts it.
|
||||
std::vector<std::pair<
|
||||
opentelemetry::noopentelemetry::nostd::string_view,
|
||||
opentelemetry::common::AttributeValue>>
|
||||
std::vector<std::pair<opentelemetry::nostd::string_view, opentelemetry::common::AttributeValue>>
|
||||
|
||||
otelAttrs;
|
||||
otelAttrs.reserve(attrs.size());
|
||||
|
||||
Reference in New Issue
Block a user