Skip to main content

References Instead of Pointers

·86 words·1 min

Info

This post was imported from a personal note. It may contain inside jokes, streams of consciousness, errors, and other nonsense.

I changed some pointers in the app to references. It resulted in a lot of errors, some of which I could deal with but others had me stumped and I had to roll back the changes. I’ll continue to tackle things in a more iterative fashion. I’ve changed the avatar member in AvatarRenderer from a pointer to a const reference for now. More to come.