Skip to content

Commit

Permalink
Inline print_value() in ostream exporter (open-telemetry#1512)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahadnagy authored and yxue committed Dec 5, 2022
1 parent d1054d3 commit 0f3fcf7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ class OwnedAttributeValueVisitor

#endif

void print_value(const opentelemetry::sdk::common::OwnedAttributeValue &value, std::ostream &sout)
inline void print_value(const opentelemetry::sdk::common::OwnedAttributeValue &value,
std::ostream &sout)
{
#if __cplusplus < 201402L
opentelemetry::nostd::visit(OwnedAttributeValueVisitor(sout), value);
Expand Down

0 comments on commit 0f3fcf7

Please sign in to comment.