mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-26 11:37:12 +00:00
Explicitly use std::strong_ordering
Otherwise it's ambiguous how to build <=> from <, == and >
This commit is contained in:
parent
c23e5e1059
commit
bf24bb71b1
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user