Skip to content

Commit 7173e5a

Browse files
committed
Fix reorder error in maintainer mode
1 parent f706996 commit 7173e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/include/opentelemetry/context/context.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ class Context
9494
{
9595
char *key_ = nullptr;
9696

97-
nostd::shared_ptr<DataList> next_;
97+
nostd::shared_ptr<DataList> next_{nullptr};
9898

9999
size_t key_length_ = 0UL;
100100

101101
ContextValue value_;
102102

103-
DataList() : next_{nullptr} {}
103+
DataList() = default;
104104

105105
// Builds a data list off of a key and value iterable and returns the head
106106
template <class T>

0 commit comments

Comments
 (0)