File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,16 +42,16 @@ class Span final : public opentelemetry::trace::Span
4242 opentelemetry::common::SystemTimestamp timestamp,
4343 const opentelemetry::common::KeyValueIterable &attributes) noexcept override ;
4444
45- void SetStatus (opentelemetry::trace::StatusCode code,
46- nostd::string_view description) noexcept override ;
47-
4845#if OPENTELEMETRY_ABI_VERSION_NO >= 2
4946 void AddLink (const opentelemetry::trace::SpanContext &target,
5047 const opentelemetry::common::KeyValueIterable &attrs) noexcept override ;
5148
5249 void AddLinks (const opentelemetry::trace::SpanContextKeyValueIterable &links) noexcept override ;
5350#endif
5451
52+ void SetStatus (opentelemetry::trace::StatusCode code,
53+ nostd::string_view description) noexcept override ;
54+
5555 void UpdateName (nostd::string_view name) noexcept override ;
5656
5757 void End (const opentelemetry::trace::EndSpanOptions &options = {}) noexcept override ;
Original file line number Diff line number Diff line change @@ -624,9 +624,7 @@ TEST(Tracer, SpanAddLinkAbiv2)
624624 }
625625 }
626626}
627- #endif /* OPENTELEMETRY_ABI_VERSION_NO >= 2 */
628627
629- #if OPENTELEMETRY_ABI_VERSION_NO >= 2
630628TEST (Tracer, SpanAddLinksAbiv2)
631629{
632630 InMemorySpanExporter *exporter = new InMemorySpanExporter ();
@@ -856,9 +854,7 @@ TEST(Tracer, SpanAddLinksAbiv2)
856854 }
857855 }
858856}
859- #endif /* OPENTELEMETRY_ABI_VERSION_NO >= 2 */
860857
861- #if OPENTELEMETRY_ABI_VERSION_NO >= 2
862858TEST (Tracer, SpanMixLinksAbiv2)
863859{
864860 InMemorySpanExporter *exporter = new InMemorySpanExporter ();
You can’t perform that action at this time.
0 commit comments