From 3ef3c24a4b0ac37681f6c389545e9b61d823cfe0 Mon Sep 17 00:00:00 2001 From: Ryan Date: Tue, 27 Feb 2018 12:42:30 -0500 Subject: [PATCH] Don't hide Tracer::Inject/Tracer::Extract methods in MockTracer. (#58) * Fix directory paths. * Don't hide Inject/Extract methods. --- mocktracer/include/opentracing/mocktracer/tracer.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mocktracer/include/opentracing/mocktracer/tracer.h b/mocktracer/include/opentracing/mocktracer/tracer.h index bf8d9d9..252a2d0 100644 --- a/mocktracer/include/opentracing/mocktracer/tracer.h +++ b/mocktracer/include/opentracing/mocktracer/tracer.h @@ -31,6 +31,9 @@ class MockTracer : public Tracer, const std::vector& spans() const noexcept { return spans_; } + using Tracer::Inject; + using Tracer::Extract; + expected Inject(const SpanContext& sc, std::ostream& writer) const override;