Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Don't hide Tracer::Inject/Tracer::Extract methods in MockTracer. (#58)
Browse files Browse the repository at this point in the history
* Fix directory paths.

* Don't hide Inject/Extract methods.
  • Loading branch information
rnburn authored Feb 27, 2018
1 parent 6d813fa commit 3ef3c24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mocktracer/include/opentracing/mocktracer/tracer.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class MockTracer : public Tracer,

const std::vector<SpanData>& spans() const noexcept { return spans_; }

using Tracer::Inject;
using Tracer::Extract;

expected<void> Inject(const SpanContext& sc,
std::ostream& writer) const override;

Expand Down

0 comments on commit 3ef3c24

Please sign in to comment.