More vs2019 minor warnings cleanup (#675)

This commit is contained in:
Max Golovanov 2021-04-16 02:49:40 -07:00 committed by GitHub
parent d1f0b136e3
commit b0f27a465e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -140,7 +140,7 @@ private:
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_);

View File

@ -58,6 +58,8 @@ public:
*/
virtual bool Detach(Token &token) noexcept = 0;
virtual ~RuntimeContextStorage(){};
protected:
nostd::unique_ptr<Token> CreateToken(const Context &context) noexcept
{