From df1b762c86b854a6aac859b3627cf252d5846232 Mon Sep 17 00:00:00 2001 From: Chris Bracken Date: Fri, 19 Mar 2021 09:28:41 -0700 Subject: [PATCH] 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. --- .../flutter/third_party/accessibility/base/win/scoped_bstr.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/engine/src/flutter/third_party/accessibility/base/win/scoped_bstr.h b/engine/src/flutter/third_party/accessibility/base/win/scoped_bstr.h index 8ba7eba83e..9660781c3c 100644 --- a/engine/src/flutter/third_party/accessibility/base/win/scoped_bstr.h +++ b/engine/src/flutter/third_party/accessibility/base/win/scoped_bstr.h @@ -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); };