diff options
Diffstat (limited to 'games/gzdoom/compilefix.4.5.0.diff')
-rw-r--r-- | games/gzdoom/compilefix.4.5.0.diff | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games/gzdoom/compilefix.4.5.0.diff b/games/gzdoom/compilefix.4.5.0.diff new file mode 100644 index 0000000000000..5c195189018ea --- /dev/null +++ b/games/gzdoom/compilefix.4.5.0.diff @@ -0,0 +1,12 @@ +diff -Naur gzdoom-g4.5.0/src/common/scripting/core/dynarrays.cpp gzdoom-g4.5.0.patched/src/common/scripting/core/dynarrays.cpp +--- gzdoom-g4.5.0/src/common/scripting/core/dynarrays.cpp 2020-10-31 05:07:33.000000000 -0400 ++++ gzdoom-g4.5.0.patched/src/common/scripting/core/dynarrays.cpp 2020-11-08 14:45:48.654222783 -0500 +@@ -89,7 +89,7 @@ + { + int oldSize = self->Size(); + self->Insert(index, static_cast<typename T::value_type>(val)); +- if constexpr (fill) ++ if (fill) + { + for (unsigned i = oldSize; i < self->Size() - 1; i++) (*self)[i] = 0; + } |