axr / core

The AXR core library
axrproject.org
GNU General Public License v3.0
93 stars 15 forks source link

Use references as opposed to pointers or shared pointers where appropriate #211

Open jakepetroules opened 11 years ago

jakepetroules commented 11 years ago

There are lots of places where instances whose lifetimes are managed completely by their parent object, and are never NULL.

These should be references as opposed to shared pointers, as it will make clear that their accessors will always return valid objects.