Simply saving a const reference here is clearly more efficient

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>