From 23299b0c49f2129f8f956d7872fa94664a6eaa0b Mon Sep 17 00:00:00 2001 From: Jade Turner Date: Thu, 29 Aug 2024 13:14:53 +0800 Subject: [PATCH] Revert "copy not reference" This reverts commit 8442f34f5e82379c737976b4a327264ca9b7258e. --- .../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 e4f82831c6..462f3eafca 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 copy of the vector of targets. + * Returns a reference to the vector of targets. *

Returned in the order set by target sort mode.

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