This warnings around the usage of deprecated APIs came up in #32, so I opened this PR to resolve those issues. I kept one deprecated API (Context::scope().count()) in write_span_info because the alternative— SpanRef::scope().count()includes the current span (but not necessarily always?) and I was too tired to figure out the issue.
Motivation
This warnings around the usage of deprecated APIs came up in #32, so I opened this PR to resolve those issues. I kept one deprecated API (
Context::scope().count()
) inwrite_span_info
because the alternative—SpanRef::scope().count()
includes the current span (but not necessarily always?) and I was too tired to figure out the issue.