Ivan Savenko
a8a6be7ac1
Fix potential compatibility with C++20 / C++23 mode
...
This fixes several issues with compatibility with C++20. C++23 was also
tested, but apparently it does not have any additional breaking changes
compared to C++20 (or we don't have those).
VCMI still uses C++17 as before - goal is only to make potential
transition easier.
There were 2 cases that are deprecated in C++20 that we use:
- Floating point operations on enums are deprecated
- `this` can no longer be captured when using default capture by value
`[=]`
Both of those should now be replaced with code that works fine in both C+
+17 and in C++20 mode
2025-03-02 14:11:48 +00:00
..
2025-03-02 14:11:48 +00:00
2025-02-28 17:04:06 +01:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-25 16:55:58 +00:00
2025-03-02 14:11:48 +00:00
2025-02-21 16:54:56 +00:00
2025-03-01 21:16:41 +00:00
2025-02-28 17:04:37 +01:00
2025-02-21 16:54:56 +00:00
2025-02-28 17:04:06 +01:00
2025-02-28 14:51:33 +00:00
2025-02-28 17:03:20 +01:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-03-01 21:16:03 +00:00
2025-02-28 15:25:58 +01:00
2025-03-02 14:11:48 +00:00
2025-03-02 14:11:48 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-28 14:59:00 +00:00
2025-02-28 14:51:32 +00:00
2025-03-01 21:16:41 +00:00
2025-03-01 21:16:41 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-28 16:01:11 +01:00
2025-03-01 21:16:03 +00:00
2025-02-14 11:01:20 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-28 15:25:58 +01:00
2025-02-28 15:25:58 +01:00
2025-03-01 21:16:41 +00:00
2025-03-01 21:16:41 +00:00
2025-02-03 22:52:33 +00:00
2025-02-28 14:51:32 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-03 22:52:33 +00:00
2025-02-21 16:54:56 +00:00
2025-02-28 15:25:58 +01:00
2025-02-28 15:25:58 +01:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-21 16:54:56 +00:00
2025-02-28 16:01:11 +01:00
2025-02-16 22:29:07 +01:00