Incorrect return type in ArrayReserve template

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.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Incorrect return type in ArrayReserve template

Re: Incorrect return type in ArrayReserve template

by _mental_ » Mon Dec 10, 2018 3:31 am

Fixed in 6362415.

Incorrect return type in ArrayReserve template

by phantombeta » Mon Dec 10, 2018 2:56 am

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.

Top