0ad/source/simulation2
Ralph Sennhauser 4a14e382d5
Replace deprecated std::is_pod
std::is_pod is deprecated in C++20 and as such triggers
-Wdeprecated-declarations when built with C++20, "is_standard_layout &&
is_trivial" is the equivalent, so migrate to that.

While at it replace runtime dispatch with compile time and reduce the
required trait for memcpy to what is really needed.

Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>
2025-08-12 20:45:15 +02:00
..
components Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
docs Remove UNUSED 2025-06-26 17:25:05 +02:00
helpers Replace deprecated std::is_pod 2025-08-12 20:45:15 +02:00
scripting Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
serialization Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
system Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
tests Fix includes in source/simulation2 2025-08-07 20:00:49 +02:00
MessageTypes.h Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
Simulation2.cpp Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
Simulation2.h Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
TypeList.h Store whether a player is activ in C++ 2025-01-05 19:57:12 +01:00