1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-10 23:48:04 +02:00
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
..
2024-10-28 21:58:35 +02:00
2024-10-28 21:58:35 +02:00
2024-10-28 21:58:35 +02:00
2024-11-13 06:39:37 +02:00
2024-10-28 21:58:35 +02:00
2024-09-28 02:34:18 +02:00
2024-10-23 15:01:56 +03:00
2025-02-21 16:53:13 +00:00
2024-02-29 12:45:08 +01:00
2023-04-05 22:33:12 +03:00
2024-07-29 00:54:58 +02:00
2024-08-13 22:40:37 +02:00
2025-02-20 13:09:38 +00:00
2025-02-15 15:44:41 +01:00
2023-10-16 00:04:29 +02:00
2025-02-21 16:54:06 +00:00