Skip to content

Commit

Permalink
fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
lalitb committed Apr 28, 2021
1 parent a8456d4 commit 74fbead
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sdk/include/opentelemetry/sdk/trace/multi_recordable.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,15 @@ class MultiRecordable : public Recordable
}
}

void SetInstrumentationLibrary(
const InstrumentationLibrary &instrumentation_library) noexcept override
{
for (auto &recordable : recordables_)
{
recordable.second->SetInstrumentationLibrary(instrumentation_library);
}
}

private:
std::map<std::size_t, std::unique_ptr<Recordable>> recordables_;
};
Expand Down

0 comments on commit 74fbead

Please sign in to comment.