未验证 提交 94e43eef 编写于 作者: C Chris Bracken 提交者: GitHub

Make internal BSTR private in ScopedBstr (#25096)

There are no subclasses of this class in our codebase that would
necessitate a protected member.
上级 72d9a464
......@@ -83,10 +83,8 @@ class BASE_EXPORT ScopedBstr {
bool operator==(const ScopedBstr& bstr2) const = delete;
bool operator!=(const ScopedBstr& bstr2) const = delete;
protected:
BSTR bstr_ = nullptr;
private:
BSTR bstr_ = nullptr;
BASE_DISALLOW_COPY_AND_ASSIGN(ScopedBstr);
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册