C++ function and blueprint function look different

What do you mean it doesn’t work. I took 5 minutes off to produce this screenshot:
The left is without const.
The only difference with yours is this a blueprint function library (not belonging to an Actor).