Skip to content

Commit

Permalink
More vs2019 minor warnings cleanup (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgolov authored Apr 16, 2021
1 parent d1f0b13 commit b0f27a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/include/opentelemetry/context/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class Context
next_ = nostd::shared_ptr<DataList>{nullptr};
}

DataList &operator=(DataList &&other)
DataList &operator=(DataList &&other) noexcept
{
key_length_ = other.key_length_;
value_ = std::move(other.value_);
Expand Down
2 changes: 2 additions & 0 deletions api/include/opentelemetry/context/runtime_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ class RuntimeContextStorage
*/
virtual bool Detach(Token &token) noexcept = 0;

virtual ~RuntimeContextStorage(){};

protected:
nostd::unique_ptr<Token> CreateToken(const Context &context) noexcept
{
Expand Down

0 comments on commit b0f27a4

Please sign in to comment.