On Mon, Mar 2, 2020 at 8:57 am, Tom Callaway <tcallawa@xxxxxxxxxx>
wrote:
// This horrible const_cast pattern is necessary to work
around a constexpr limitation.
// See https://stackoverflow.com/q/34199774/ . Note that
it should be fixed with C++17.
const_cast<T &>(const_cast<const Storage &>(
mPrivateData)[static_cast<UnderlyingType>(it->first)]) = it->second;
FYI, there is an upstream bug here:
https://bugs.chromium.org/p/angleproject/issues/detail?id=4390
But sadly, you've already found the solution there doesn't work for
you....
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx