Fix lint that shows up in manual builds (flutter/engine#28311)

This commit is contained in:
Brandon DeRosier 2021-08-25 16:27:17 -07:00 committed by GitHub
parent 4c5d250e69
commit 3600461d13

View File

@ -63,8 +63,8 @@ class CustomEncodableValue {
~CustomEncodableValue() = default;
// Allow implicit conversion to std::any to allow direct use of any_cast.
operator std::any &() { return value_; }
operator const std::any &() const { return value_; }
operator std::any&() { return value_; }
operator const std::any&() const { return value_; }
#if defined(FLUTTER_ENABLE_RTTI) && FLUTTER_ENABLE_RTTI
// Passthrough to std::any's type().