Incorrect return type in ArrayReserve template
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
-
- Posts: 2119
- Joined: Thu May 02, 2013 1:27 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: Brazil
Incorrect return type in ArrayReserve template
The ArrayReserve template used for the direct native version of DynArray*.Reserve doesn't return anything, leading to random bugs, as the function is actually supposed to return the value returned by TArray::Reserve.
-
-
- Posts: 3819
- Joined: Sun Aug 07, 2011 4:32 am