1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-28 13:09:42 +00:00

Explicitly use std::strong_ordering

Otherwise it's ambiguous how to build <=> from <, == and >
This commit is contained in:
AnyOldName3 2024-03-06 01:23:51 +00:00
parent c23e5e1059
commit bf24bb71b1

View file

@ -25,7 +25,7 @@ namespace Config
// path of openmw.cfg, e.g. to resolve relative paths
QString context = "";
friend auto operator<=>(const SettingValue&, const SettingValue&) = default;
friend std::strong_ordering operator<=>(const SettingValue&, const SettingValue&) = default;
};
class GameSettings