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:
Chris Bracken
2021-03-19 09:28:41 -07:00
committed by GitHub
parent fb95805d09
commit df1b762c86

View File

@@ -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);
};