This is a bit weird - you're putting a copy of something reference-counted on the stack. Don't make the copy - make this variable a const Load * instead.