mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
because using this more consistently throughout the codebase makes it easier to maintain code. We also do not want to call the copy constructor on them, using pointers just makes this more obvious. Further, casting is also something that's commonly done on pointers and not references. And if you want a value or a reference, just use QgsGeometry, it's meant to be handled like this.