Follow-up Comment #5, bug #25080 (project wesnoth):
Hmm, it's been a while since I've really worked in-depth in C/C++. I recall
the stuff about passing by reference when you're dealing with function
parameters. But in this case expand_direction_ is a private member of the
teditor_resize_map class. Is it really necessary or helpful to have it as a
reference? I recall another bug where you suggested that the member reference
needed to be changed to just a reference value - and that worked. Don't recall
what bug report that was, though.
I know C++ has advanced a lot since I worked with it in the early 2000s
(C++11/14/etc), I feel like such a newbie again!
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?25080>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs