File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
sdk/include/opentelemetry/sdk Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,12 @@ namespace sdk
2121 * with default attributes.
2222 */
2323static const opentelemetry::common::KeyValueIterableView<
24- std::array<std::pair<std::string, int >, 0 >> &
24+ std::array<std::pair<std::string, int32_t >, 0 >> &
2525GetEmptyAttributes () noexcept
2626{
27- static const std::array<std::pair<std::string, int >, 0 > array{};
27+ static const std::array<std::pair<std::string, int32_t >, 0 > array{};
2828 static const opentelemetry::common::KeyValueIterableView<
29- std::array<std::pair<std::string, int >, 0 >>
29+ std::array<std::pair<std::string, int32_t >, 0 >>
3030 kEmptyAttributes (array);
3131
3232 return kEmptyAttributes ;
Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ class SpanData final : public Recordable
257257 opentelemetry::common::SystemTimestamp timestamp =
258258 opentelemetry::common::SystemTimestamp (std::chrono::system_clock::now()),
259259 const opentelemetry::common::KeyValueIterable &attributes =
260- opentelemetry::common::KeyValueIterableView<std::map<std::string, int >>(
260+ opentelemetry::common::KeyValueIterableView<std::map<std::string, int32_t >>(
261261 {})) noexcept override
262262 {
263263 SpanDataEvent event (std::string (name), timestamp, attributes);
You can’t perform that action at this time.
0 commit comments