Ok, I found a fix, I replaced the const link& with a regular link on line 40, but I don't understand why it can't be passed like that to avoid the recreation of the variable. If anyone could clear that up for me, I would appreciate it.
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
Offline 71 posts
since Feb 2008