You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use data() instead of begin() in Protocols.cpp (#33476)
* Use data() instead of begin() in Protocols.cpp
The GetProtocolName() function tries to store the result of
std::array<T>::begin() in a raw pointer type, but this no longer works
on some newer versions of clang, since clang now returns an iterator
object. This change fixes this by switching to std::array<T>::data()
instead, which always returns a raw pointer.
* Restyled by whitespace
---------
Co-authored-by: Restyled.io <commits@restyled.io>
0 commit comments