[haiku-commits] Re: haiku: hrev50371 - src/kits/media src/apps/mediaplayer/playlist src/add-ons/media/plugins/rtsp_streamer src/add-ons/media/plugins/http_streamer headers/private/media
- From: marcus overhagen <marcusoverhagen@xxxxxxxxx>
- To: haiku-commits@xxxxxxxxxxxxx
- Date: Fri, 24 Jun 2016 20:59:43 +0200
On Fri, Jun 24, 2016 at 7:02 PM, <b.vitruvio@xxxxxxxxx> wrote:
* There's no need to pass BUrl by pointer, this is
potentially dangerous and leaky without any advantage,
copying is definitely safer.
To avoid pointers *and* copying of complex or large objects, you usually
pass a const reference "const BUrl &"
Other related posts: