facebook / mysql-5.6

Facebook's branch of the Oracle MySQL database. This includes MyRocks.
http://myrocks.io
Other
2.47k stars 711 forks source link

Bug#35137978: Equality operator needs to be updated after LWG-3865 #1414

Closed laurynas-biveinis closed 6 months ago

laurynas-biveinis commented 6 months ago

The C++ Standardization Committee's Library Working Group recently resolved an issue, LWG-3865 "Sorting a range of pairs" (see https://cplusplus.github.io/LWG/issue3865 ), which changes how std::pair's comparison operators are defined. Such issues are considered "defect reports" and apply retroactively to all published Standards.

Based on a suggestion by the Microsoft Visual Studio team.

Change-Id: I8ac997fecfab9b53b4c3bdebd9ab995316aab6b7

laurynas-biveinis commented 6 months ago

This backport fixes a LLVM 17 build failure

facebook-github-bot commented 6 months ago

@luqun has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.