Make internal BSTR private in ScopedBstr (flutter/engine#25096)
There are no subclasses of this class in our codebase that would necessitate a protected member.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user