From 8442f34f5e82379c737976b4a327264ca9b7258e Mon Sep 17 00:00:00 2001 From: Jade Turner Date: Thu, 29 Aug 2024 12:42:15 +0800 Subject: [PATCH] copy not reference --- .../native/include/photon/targeting/PhotonPipelineResult.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/photon-targeting/src/main/native/include/photon/targeting/PhotonPipelineResult.h b/photon-targeting/src/main/native/include/photon/targeting/PhotonPipelineResult.h index 462f3eafc..e4f82831c 100644 --- a/photon-targeting/src/main/native/include/photon/targeting/PhotonPipelineResult.h +++ b/photon-targeting/src/main/native/include/photon/targeting/PhotonPipelineResult.h @@ -119,9 +119,9 @@ class PhotonPipelineResult { bool HasTargets() const { return targets.size() > 0; } /** - * Returns a reference to the vector of targets. + * Returns a copy of the vector of targets. *

Returned in the order set by target sort mode.

- * @return A reference to the vector of targets. + * @return A copy of the vector of targets. */ const std::span GetTargets() const { return targets;